#8444: Model inheritance - inherited model could use some fields cleanup
-------------------------------------+--------------------------------------
Reporter: trebor74hr | Owner: nobody
Status: closed | Milestone:
Component: Core framework | Version: SVN
Resolution: invalid | Keywords: model inheritance
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
-------------------------------------+--------------------------------------
Comment (by mtredinnick):
Asking support questions on the mailing is definitely to be encouraged and
it should remained closed for that reason. However, in case anybody
stumbles over this ticket in a search, I want to point out that both the
answers in the previous comment are incorrect. There might well be some
leakage of attribute names, but it's kind of impractical to avoid this
because of the possibility of multiple shared parents, etc, so not worth
worrying about. Some internal Python classes have similar dummy
attributes. Secondly, multiple inheritance is trivially possible. There's
are even some tests in Django's core tests that verify that works.
--
Ticket URL: <http://code.djangoproject.com/ticket/8444#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
-~----------~----~----~----~------~----~------~--~---