You can use Form inheritance to redefine default behaviour, so you will be just writing down just a strip and after making all your forms inherit from your BaseForm they all will strip fields
2008/2/18, James Bennett <[EMAIL PROTECTED]>: > > > On Feb 18, 2008 2:37 PM, web-junkie <[EMAIL PROTECTED]> wrote: > > why isn't whitespace automatically stripped from fields when using > > modelforms? This would be convenient. > > Up until the moment you need to store some source code written in the > language Django uses. > > > -- > "Bureaucrat Conrad, you are technically correct -- the best kind of > correct." > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---