- Author:
- diverman
- Posted:
- June 30, 2010
- Language:
- Python
- Version:
- Not specified
- Score:
- 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
- Generate and render HTML Table by LLyaudet 1 day, 22 hours ago
- My firs Snippets by GutemaG 5 days, 6 hours ago
- FileField having auto upload_to path by junaidmgithub 1 month, 1 week ago
- LazyPrimaryKeyRelatedField by LLyaudet 1 month, 2 weeks ago
- CacheInDictManager by LLyaudet 1 month, 2 weeks ago
Comments
Please login first before commenting.