- 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
- Treat empty value on DateRangeFilter as a filter for non filled dates by kmmbvnr 1 month ago
- Django Settings Assignment Expressions aka Walrus Operator example by webology 2 months ago
- codigo alto nivel by MrRocklion 4 months ago
- Load template from specific app by Krzysiek555 4 months, 3 weeks ago
- PostgreSQL JSON subqueries by dolamroth 4 months, 3 weeks ago