diff options
author | luxagraf <sng@luxagraf.net> | 2018-06-12 20:32:28 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2018-06-12 20:32:28 -0500 |
commit | 38631380ae8fb469b81c048c7d9e80466db99bdb (patch) | |
tree | 7025ee9be188f0ee66e088846dcfbd738cba9013 /app/sightings | |
parent | 85240e9170e6a472c2497d36610ec612607a6ff9 (diff) |
changed sighting form to have datefield
Diffstat (limited to 'app/sightings')
-rw-r--r-- | app/sightings/forms.py | 2 |
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') } |