summaryrefslogtreecommitdiff
path: root/app/sightings
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2018-06-12 20:32:28 -0500
committerluxagraf <sng@luxagraf.net>2018-06-12 20:32:28 -0500
commit38631380ae8fb469b81c048c7d9e80466db99bdb (patch)
tree7025ee9be188f0ee66e088846dcfbd738cba9013 /app/sightings
parent85240e9170e6a472c2497d36610ec612607a6ff9 (diff)
changed sighting form to have datefield
Diffstat (limited to 'app/sightings')
-rw-r--r--app/sightings/forms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/sightings/forms.py b/app/sightings/forms.py
index ffb4a40..77d61f9 100644
--- a/app/sightings/forms.py
+++ b/app/sightings/forms.py
@@ -6,7 +6,7 @@ from .models import Sighting
class SightingsForm(autocomplete.FutureModelForm):
class Meta:
model = Sighting
- fields = ('ap', 'point', 'pub_date')
+ fields = ('pub_date','ap', 'point',)
widgets = {
'ap': autocomplete.ModelSelect2(url='ap-autocomplete')
}