1 2 3 4 5 6 7 8 | calendar_widget = forms.widgets.TextInput(attrs={'class':"vDateField required", 'size':10})
class ERSelectForm(forms.Form):
"""
Allow for selection of dates
"""
start_date = forms.DateField(widget=calendar_widget)
end_date = forms.DateField(widget=calendar_widget)
|
More like this
- Honeypot Field by SmileyChris 6 years, 2 months ago
- Convert XHTML-compatible shorttag to HTML-compatible tag. by clamothe 5 years, 1 month ago
- Add CSS class template filter by lazerscience 2 years, 7 months ago
- Simple Entity Relationship Diagram using GraphViz by bendavis78 4 years, 1 month ago
- Natural language date/time form fields by jdriscoll 6 years ago
Comments