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]
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
On Mon, 2008-02-18 at 12:37 -0800, web-junkie wrote:
> Hi,
>
> why isn't whitespace automatically stripped from fields when using
> modelforms? This would be convenient.
Convenient in your case. Absolutely tragic for situations where
whitespace is important. So that's why it doesn't happen auto
Hi,
> why isn't whitespace automatically stripped from fields when using
> modelforms? This would be convenient.
It may be convenient for many cases but for many others that approach
would *lose* information irrecoverably. What if you wanted to have
some fields stored with their whitespace prese
Hi,
why isn't whitespace automatically stripped from fields when using
modelforms? This would be convenient.
Is there a reason for not doing so, where is one supposed to do that?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Goog
5 matches
Mail list logo