#8494: Instantiating ModelForm with request as kwargin ModelAdmin
--------------------------------------+-------------------------------------
Reporter: sorl | Owner: nobody
Status: closed | Milestone: post-1.0
Component: Admin interface | Version: SVN
Resolution: wontfix | Keywords:
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
--------------------------------------+-------------------------------------
Changes (by ubernostrum):
* status: new => closed
* resolution: => wontfix
Comment:
`ModelAdmin.get_form()` receives the request (and, for object-level change
requests, also the object) and is expected to return a `Form` subclass to
use, and overriding that is how you should do per-user or per-request form
tweaks.
--
Ticket URL: <http://code.djangoproject.com/ticket/8494#comment:2>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" 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-updates?hl=en
-~----------~----~----~----~------~----~------~--~---