From 38631380ae8fb469b81c048c7d9e80466db99bdb Mon Sep 17 00:00:00 2001 From: luxagraf Date: Tue, 12 Jun 2018 20:32:28 -0500 Subject: changed sighting form to have datefield --- app/sightings/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/sightings') 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') } -- cgit v1.2.3-70-g09d2