- June 30, 2010
- Not specified
- 0 (after 0 ratings)
Sometime may be useful to disable the HTML output from formfield to template.
1 2 3
class NoneWidget(forms.Widget): def render(self, name, value, attrs=None): return u''
More like this
- Stuff by NixonDash 1 month ago
- Add custom fields to the built-in Group model by jmoppel 3 months, 1 week ago
- Month / Year SelectDateWidget based on django SelectDateWidget by pierreben 6 months, 3 weeks ago
- Python Django CRUD Example Tutorial by tuts_station 7 months, 1 week ago
- Browser-native date input field by kytta 8 months, 3 weeks ago
Please login first before commenting.