-
Website
http://www.eflorenzano.com/ -
Original page
http://www.eflorenzano.com/blog/post/exploring-mixins-django-model-inheritance/ -
Subscribe
All Comments -
Community
-
Top Commenters
-
traviscooper
1 comment · 2 points
-
pppoll37
7 comments · 1 points
-
linhanyi
2 comments · 1 points
-
dobrych
2 comments · 3 points
-
bosveld
1 comment · 1 points
-
-
Popular Threads
Also, the DateAddedMixin is referenced in the first example, but it's not defined yet.
Good ideas overall! Model inheritance looks very good, I can see lots of "plugins" being created, in the :acts_as_* fashion that Rails has...
It is quite similar in purpose to propel behaviors for Symfony :)
also, we're talking model inheritance this week at django-nyc meetup, and we now have another great reference/discussion point.
cheers!
AttributeError: 'Options' object has no attribute '_join_cache' happens in
'''
/usr/local/lib/python2.5/site-packages/django/db/models/sql/query.py in setup_joins(self, names, opts, alias, dupe_multis, allow_many, allow_explicit_fk, can_reuse)
1121 opts.pk.column), exclusions=joins)
1122 joins.append(alias)
-> 1123 cached_data = opts._join_cache.get(name)
1124 orig_opts = opts
1125
'''
http://code.djangoproject.com/ticket/7252
and http://code.djangoproject.com/ticket/7154
<a href= http://freebizadsweb.com/tablemaker/tablemaker.asp >Button Maker
http://www.cleversley.com/
<a href= http://www.theoxfordgroup.com/ >The Oxford Group
http://www.winspec.com/
<a href= http://www.creative.com.cy/ >Creative Tours
http://www.thisisthenortheast.co.uk/the_north_e...