forms.py is pretty standard. You'd end up importing them in your
views.py.

On Nov 3, 1:20 pm, Nick Arnett <[email protected]> wrote:
> I find myself frequently frustrated by examples and tutorials that include
> code snippets that don't identify where they live.  In particular, I haven't
> quite figured out where forms usually are defined and then where they need
> to be imported.
>
> I see that forms sometimes are in a file called forms.py... but somewhere
> I'd expect to then see an import statement along the lines of "from
> mysite.forms import *".  If I use forms.py for my forms, where does that
> file need to be imported?
>
> Thanks,
>
> Nick
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
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