Commit 403247d2 authored by chris's avatar chris

Remove month view from datetime widget.

parent 9505e65f
...@@ -2,13 +2,13 @@ from django import forms ...@@ -2,13 +2,13 @@ from django import forms
from .models import UserProfile, Poll, Choice, Bulletin, Vote from .models import UserProfile, Poll, Choice, Bulletin, Vote
from django.utils.translation import ugettext_lazy as _ from django.utils.translation import ugettext_lazy as _
from datetimewidget.widgets import DateTimeWidget from datetimewidget.widgets import DateTimeWidget
from datetime import datetime from datetime import datetime, timedelta
dateTimeOptions = { dateTimeOptions = {
'weekStart': '1', 'weekStart': '1',
'startView': '3', #'minView': '1',
'minuteStep': '15',
'startDate': datetime.today().date(), 'startDate': datetime.today().date(),
'autoclose': 'true',
'todayHighlight': 'true' 'todayHighlight': 'true'
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment