#7837: Hierarchy in forms metaclasses can miss declarated fields in forms
--------------------------------+-------------------------------------------
Reporter: msaelices | Owner: msaelices
Status: assigned | Milestone: 1.0
Component: Forms | Version: SVN
Resolution: | Keywords:
Stage: Accepted | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
--------------------------------+-------------------------------------------
Comment (by jacob):
I'm frankly surprised that the business with `__metaclass__` works at all
-- I don't see why you want to subclass both `Form` and `ModelForm`, and
I'm not entirely sure it ought to be possible at all.
In fact, you can just make `GenericForm` a `ModelForm` and then you don't
have this weird metaclass hack.
--
Ticket URL: <http://code.djangoproject.com/ticket/7837#comment:4>
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
-~----------~----~----~----~------~----~------~--~---