I asked a similar question a few days ago but got no response.  Since
then, I've poked around SO and come up with a few potential ways to do
it, but wonder if there is a *correct* Django way to do it or if there
are hidden problems lurking behind one of them.

Basically I have a few different base concepts for models and would
like to mix and match them . . . Organizational, Taggable, and
TimeStamped .

I've been using Abstract base models for each, but wonder if Mixins
(where there is no inner "Meta" class with abstract=True, and does not
extend from models.Model) is better for some reason than having each
be an abstract base model and using multiple inheritance for each
child class that needs these properties.  Mixins were suggested to me
on SO, but it seems that Abstract models were created just for this
sort of thing . . . just haven't seen them used with multiple
inheritance.

Anyone have any guidance here, or is it 6 cents one way half a dozen
the other. . .

Ben

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to