Re: Proper way to strip whitespace from Charfields in a form in current version of Django?

2011-07-19 Thread Andre Terra
Why not add a custom clean_fieldname method to your class? Perhaps you could dig into the original BaseModelForm and see how it constructs validation, and override whatever is needed. I'm on my phone atm, so I'll let you do the footwork alone, at least for now. Cheers, AT On 7/19/11, br wrote:

Proper way to strip whitespace from Charfields in a form in current version of Django?

2011-07-18 Thread br
There seems to be a raging and unresolved discussion about how to address the issue of stripping whitespace from form fields in future versions of Django over on the Developers group: http://groups.google.com/group/django-developers/browse_thread/thread/90352cc0da78390b . In the present, what is t