On Sat, Aug 23, 2008 at 8:59 PM, Julien Phalip <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> In Django there are no 'standard' as such. You'd talk more about
> 'conventions'.
> One common way is to put all your forms in forms.py. But that's just
> for cleanliness.

While this is a common convention, I would point out that it is not
without problems. If you have a local 'forms.py' module, you leave
yourself open to name clashes if you use 'from django import forms' in
your code.

However, the rest of your advice is correct - there is not set rule,
just conventions, and as long as Python can import it, the code will
work the same regardless of the location.

Yours,
Russ Magee %-)

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to