#3815: form_for_* methods should be able to use a Form superclass
--------------------------------------+-------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: nobody
Status: reopened | Component: django.newforms
Version: SVN | Resolution:
Keywords: newforms | Stage: Ready for checkin
Has_patch: 1 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
--------------------------------------+-------------------------------------
Changes (by SmileyChris):
* has_patch: 0 => 1
* summary: subclassed newforms does not work with ancestor class created
with form_for_model(ModelClass) => form_for_*
methods should be able to use a Form superclass
* stage: Design decision needed => Ready for checkin
Comment:
This ticket has mutated to a different issue slightly, but I'll keep it
open and just re-summarize it.
Using a Form (or subclass of Form) as a superclass should work fine. My
patch is simple and adds this functionality, with no possible side effects
that I can see
Promoting to checkin.
--
Ticket URL: <http://code.djangoproject.com/ticket/3815#comment:5>
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
-~----------~----~----~----~------~----~------~--~---