summaryrefslogtreecommitdiff
path: root/archaeological_operations/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2018-10-19 14:18:30 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2018-10-24 12:06:09 +0200
commite55a76aaa16b55177dcd3c1e12e342420b96ba6b (patch)
tree29f92a2c4caff32bb80907da9d659211f9291e1b /archaeological_operations/models.py
parent5bdd184424ed51eaddc642bda549fa7a4ada8710 (diff)
downloadIshtar-e55a76aaa16b55177dcd3c1e12e342420b96ba6b.tar.bz2
Ishtar-e55a76aaa16b55177dcd3c1e12e342420b96ba6b.zip
Manage find basket modification wizard
Diffstat (limited to 'archaeological_operations/models.py')
-rw-r--r--archaeological_operations/models.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py
index 1d7f17fa8..56af40ba0 100644
--- a/archaeological_operations/models.py
+++ b/archaeological_operations/models.py
@@ -198,7 +198,6 @@ class ArchaeologicalSite(BaseHistorizedItem, OwnPerms, ValueGetter,
activate(language_code)
EXTRA_REQUEST_KEYS[unicode(v[0])] = v[1]
deactivate()
- objects = SiteManager()
UP_MODEL_QUERY = {
"operation": (pgettext_lazy("key for text search", u"operation"),
@@ -208,6 +207,8 @@ class ArchaeologicalSite(BaseHistorizedItem, OwnPerms, ValueGetter,
('operation', 'operations__pk'),
]
+ # objects = SiteManager()
+
reference = models.CharField(_(u"Reference"), max_length=200, unique=True)
name = models.CharField(_(u"Name"), max_length=200,
null=True, blank=True)