Thursday, August 5, 2010

Re: model inheritance, abtract=True

On Aug 5, 1:50 pm, Roald de Vries <downa...@gmail.com> wrote:
> Dear all,
>
> I have the following error, and don't know what it means:
>
>      Error: One or more models did not validate:
>      update.personupdate: 'address' has a relation with model Address,  
> which has either not been installed or is abstract.
>
> I did a pretty big refactoring, but I think the problems started when  
> I separated my Person class into an abstract base class PersonProfile  
> and a derived class Person, and added the class PersonUpdate, deriving  
> from PersonProfile too.
>
> Can anybody help?
>
> Thanks in advance, cheers,
>
> Roald

Can you provide some code snippets from your model definitions?

--
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.

No comments:

Post a Comment