Hi all,

I noticed there are few threads about model inheritance and proposals,
but they all reflect the inheritance to the database also.
I don't really want inheritance in database with all those joins etc,
what I would need is just something that will spare me the
copy/pasting of similar fields. I have many models that share same
fields, like News, Post, Image etc which have date_posted, title,
abstract ... What would be nice is to create an "abstract model" that
has all these similar fields and then inherit it in normal model.

I already tried with basic Python class inheritance, but it didn't
work. Any suggestions ? :)

Thanks, Sebastjan

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to