summaryrefslogtreecommitdiff
path: root/archaeological_context_records/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@proxience.com>2014-07-21 19:21:27 +0200
committerÉtienne Loks <etienne.loks@proxience.com>2014-07-21 19:21:27 +0200
commita27dca4b361b0d2f46a20f9ac2719ef811c093e0 (patch)
tree5f38e92243a02add2b1e0176585f17f8c4aef7d6 /archaeological_context_records/models.py
parent0cc64347e47a0c3117bb4514e6b966f651f552f4 (diff)
downloadIshtar-a27dca4b361b0d2f46a20f9ac2719ef811c093e0.tar.bz2
Ishtar-a27dca4b361b0d2f46a20f9ac2719ef811c093e0.zip
Colors and orders in short menu - cache mechanism (refs #1562)
Diffstat (limited to 'archaeological_context_records/models.py')
-rw-r--r--archaeological_context_records/models.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/archaeological_context_records/models.py b/archaeological_context_records/models.py
index b33b86e8c..4a288b5dc 100644
--- a/archaeological_context_records/models.py
+++ b/archaeological_context_records/models.py
@@ -23,7 +23,7 @@ from django.core.urlresolvers import reverse
from django.utils.translation import ugettext_lazy as _, ugettext, pgettext
from ishtar_common.models import GeneralType, BaseHistorizedItem, \
- HistoricalRecords, OwnPerms, Town, Person, Source
+ HistoricalRecords, OwnPerms, ShortMenuItem, Town, Person, Source
from archaeological_operations.models import Operation, Period, Parcel
class DatingType(GeneralType):
@@ -92,7 +92,7 @@ class IdentificationType(GeneralType):
def __unicode__(self):
return self.label
-class ContextRecord(BaseHistorizedItem, OwnPerms):
+class ContextRecord(BaseHistorizedItem, OwnPerms, ShortMenuItem):
TABLE_COLS = ['parcel.town', 'operation.year',
'operation.operation_code',
'label', 'unit']