Saturday, March 12, 2011

Re: Django models and inheritance

> When you define an abstract model, you have to define the ``abstract''
> property inside its Meta.http://docs.djangoproject.com/en/1.2/ref/models/options/#abstracthttp://docs.djangoproject.com/en/1.2/topics/db/models/#abstract-base-...
>
> That way your abstract class can inherit models.Model and will have no
> database table created.
>
> Michal Petrucha
>
>  signature.asc
> < 1KViewDownload

Thank you Michal for your kind and useful help!

~Mark

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate