Mercurial > public > sg101
comparison gpp/gcalendar/forms.py @ 312:88b2b9cb8c1f
Fixing #142; cut over to the django.contrib.staticfiles app.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 27 Jan 2011 02:56:10 +0000 |
parents | d77e0dc772ad |
children | 9a4bffdf37c3 |
comparison
equal
deleted
inserted
replaced
311:b1c39788e511 | 312:88b2b9cb8c1f |
---|---|
67 start_time = forms.TimeField(required=False, widget=forms.Select(choices=TIME_CHOICES)) | 67 start_time = forms.TimeField(required=False, widget=forms.Select(choices=TIME_CHOICES)) |
68 end_date = forms.DateField(widget=forms.TextInput(attrs={'size': 10})) | 68 end_date = forms.DateField(widget=forms.TextInput(attrs={'size': 10})) |
69 end_time = forms.TimeField(required=False, widget=forms.Select(choices=TIME_CHOICES)) | 69 end_time = forms.TimeField(required=False, widget=forms.Select(choices=TIME_CHOICES)) |
70 time_zone = forms.CharField(required=False, widget=forms.HiddenInput()) | 70 time_zone = forms.CharField(required=False, widget=forms.HiddenInput()) |
71 where = forms.CharField(required=False, widget=forms.TextInput(attrs={'size': 60})) | 71 where = forms.CharField(required=False, widget=forms.TextInput(attrs={'size': 60})) |
72 description = forms.CharField(required=False, | 72 description = forms.CharField(required=False, |
73 widget=forms.Textarea(attrs={'class': 'markItUp smileyTarget'})) | 73 widget=forms.Textarea(attrs={'class': 'markItUp smileyTarget'})) |
74 | 74 |
75 DATE_FORMAT = '%m/%d/%Y' # must match the jQuery UI datepicker config | 75 DATE_FORMAT = '%m/%d/%Y' # must match the jQuery UI datepicker config |
76 TIME_FORMAT = '%H:%M' | 76 TIME_FORMAT = '%H:%M' |
77 DEFAULT_START_TIME = '19:00' | 77 DEFAULT_START_TIME = '19:00' |