summaryrefslogtreecommitdiff
path: root/archaeological_context_records/forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_context_records/forms.py')
-rw-r--r--archaeological_context_records/forms.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/archaeological_context_records/forms.py b/archaeological_context_records/forms.py
index f90cf7e9d..34f1a5101 100644
--- a/archaeological_context_records/forms.py
+++ b/archaeological_context_records/forms.py
@@ -128,7 +128,8 @@ class RecordFormGeneral(forms.Form):
parcels = sorted(parcels, key=sort)
for key, gparcels in groupby(parcels, sort):
self.fields['parcel'].choices.append(
- (" - ".join(key), [(parcel.pk, parcel.short_label()) for parcel in gparcels])
+ (" - ".join(key), [(parcel.pk, parcel.short_label)
+ for parcel in gparcels])
)
self.fields['unit'].choices = models.Unit.get_types()
self.fields['unit'].help_text = models.Unit.get_help()