diff --git a/redwine/views.py b/redwine/views.py index 26d8806..5ea64e4 100755 --- a/redwine/views.py +++ b/redwine/views.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- import datetime, re +import pytz from operator import itemgetter from django.http import HttpResponse from django.template.loader import get_template @@ -42,6 +43,26 @@ def redwine_com(request, committee): form = newPenaltyForm(data=request.POST) if act =='add': if int(form.data['amount'])<=10 and 1