Opened 16 years ago

Closed 16 years ago

#6690 closed (wontfix)

Document the dynamic use of ModelForms classes

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

Description

Dynamically creating model forms is a fairly common use case, especially for users of the deprecated form_for_model and form_for_instance methods.
The modelforms class easily allows this, but the correct way to achieve it is not very obvious (except to more advanced Python programmers).
Documenting the right way should overcome this...

Attachments (1)

modelforms.patch (721 bytes ) - added by jdetaeye 16 years ago.
modelforms documentation update

Download all attachments as: .zip

Change History (2)

by jdetaeye, 16 years ago

Attachment: modelforms.patch added

modelforms documentation update

comment:1 by Brian Rosner, 16 years ago

Resolution: wontfix
Status: newclosed

I disagree this is a common case. The reason the ModelForm class was created was to avoid this entirely and to leave people who still needed this functionality to either learn it or just use it outside the framework. I am closing this ticket because this shouldn't be described in the docs and would be better in the wiki since it is a special case. Plus this is simply Python. People can use django-users to get at learning how or just searching Google.

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