From 1ce09b797cdff55127caf7ad78d3f4c9d7ff9c47 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Sun, 19 Mar 2017 17:33:37 +0100 Subject: Treatments/Treatment files sheets: add source list (refs #3402) --- archaeological_finds/models_treatments.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'archaeological_finds/models_treatments.py') diff --git a/archaeological_finds/models_treatments.py b/archaeological_finds/models_treatments.py index 2efedbc22..4a453f538 100644 --- a/archaeological_finds/models_treatments.py +++ b/archaeological_finds/models_treatments.py @@ -567,6 +567,7 @@ class TreatmentSource(Source): Treatment, verbose_name=_(u"Treatment"), related_name="source") BOOL_FIELDS = ['duplicate'] TABLE_COLS = ['treatment__cached_label'] + Source.TABLE_COLS + COL_LABELS = {'treatment__cached_label': _(u"Treatment")} SHOW_URL = 'show-treatmentsource' class Meta: @@ -584,6 +585,7 @@ class TreatmentFileSource(Source): related_name="source") BOOL_FIELDS = ['duplicate'] TABLE_COLS = ['treatment_file__cached_label'] + Source.TABLE_COLS + COL_LABELS = {'treatment_file__cached_label': _(u"Treatment file")} SHOW_URL = 'show-treatmentfilesource' class Meta: -- cgit v1.2.3