Ticket #14338: 14338_well_formed.diff
File 14338_well_formed.diff, 652 bytes (added by , 14 years ago) |
---|
-
djangodocs/forms.py
2 2 3 3 AS_Q_CHOICES = ( 4 4 ('more:dev_docs', 'Latest'), 5 ('more:1. 0_docs', '1.0'),6 ('more: 0.96_docs', '0.96'),5 ('more:1.2_docs', '1.2'), 6 ('more:1.1_docs', '1.1'), 7 7 ('more:all_docs', 'All'), 8 8 ) 9 9 10 10 class SearchForm(forms.Form): 11 11 q = forms.CharField(widget=forms.TextInput({'class': 'query'})) 12 12 as_q = forms.ChoiceField(choices=AS_Q_CHOICES, widget=forms.RadioSelect, initial='more:dev_docs') 13 14 No newline at end of file 13