Opened 16 years ago

Closed 16 years ago

#8002 closed (invalid)

Forms Library Documentation

Reported by: mrribbs Owned by: nobody
Component: Uncategorized Version: dev
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

The forms library documentation doesn't explain where to put the forms class definition file. On the Django IRC I was told that you make a form.py file in the same directory as models.py. Is this correct? It's not clear in the documentation.

Change History (1)

comment:1 by Jeff Anderson, 16 years ago

Resolution: invalid
Status: newclosed

Forms don't *need* to be anywhere specifically. It is simply a matter of choice as to where to put your forms. Many people simply choose to put them in the same directory as models.py, but that doesn't mean it isn't any more or less correct than putting the form definitions anywhere else in your python path.

I'm closing as invalid, but this note might be useful in the documentation.

Note: See TracTickets for help on using tickets.
Back to Top