diff options
Diffstat (limited to 'nop')
-rw-r--r-- | nop/views.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nop/views.py b/nop/views.py index 0ec1c61..9e76d2f 100644 --- a/nop/views.py +++ b/nop/views.py @@ -26,7 +26,7 @@ class NopForm(forms.Form): date = forms.DateField( required=True, #initial=datetime.date(datetime.now()), ## static initial specifies - ## any time but not the + ## any time but not the ## current one widget=forms.DateInput( format='%Y-%m-%d', @@ -120,7 +120,7 @@ def get(request, year=None, month=None, day=None, hour=None, minute=None): def nop_form(request): context = {} - ## currently no csrf security for nicier forms + ## currently no csrf security for nicier forms #context.update(csrf(request)) # in django template: {% csrf_token %} date = None time = None |