Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#8860 closed (invalid)

Where should form classes and formset classes be defined?

Reported by: r.topor@… Owned by: nobody
Component: Documentation Version: dev
Severity: Keywords: forms
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 current documentation doesn't say where form classes and formset classes and so on should be defined. Should they be defined in module models.py or in a separate module forms.py or somewhere else altogether? I think the situation is analogous to admin information which eventually was moved from models.py to admin.py.

Change History (3)

comment:1 by Rodney Topor <r.topor@…>, 16 years ago

Version: 1.0SVN

comment:2 by James Bennett, 16 years ago

Resolution: invalid
Status: newclosed

There's no requirement that they be defined in any specific place; you're free to define your form-related stuff anywhere you like. For further questions, please consult the archives of the django-users list, where questions about best practices for application layout have been discussed multiple times.

comment:3 by (none), 16 years ago

milestone: post-1.0

Milestone post-1.0 deleted

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