summaryrefslogtreecommitdiff
path: root/archaeological_warehouse/forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_warehouse/forms.py')
-rw-r--r--archaeological_warehouse/forms.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/archaeological_warehouse/forms.py b/archaeological_warehouse/forms.py
index 4ed8e7aed..cd02f12b2 100644
--- a/archaeological_warehouse/forms.py
+++ b/archaeological_warehouse/forms.py
@@ -229,5 +229,7 @@ class LocalisationForm(forms.Form):
division=divlink, container=container)
if q.count():
initial = q.all()[0].reference
+ else:
+ initial = u"-"
self.fields['division_{}'.format(divlink.pk)] = forms.CharField(
label=str(divlink.division), max_length=200, initial=initial)