On May 1, 3:04 pm, bcurtu <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I've just checked out the trunk with new queryset-ref changes! I'm
> suffering the next problem. In my model I have a ManyToMany
> relationship:
>
>     class Person(Attributes):
>         friends=models.ManyToManyField("self",symmetrical=False)
>
> When I do a manage.py syncdb, i get the following error:
>
>    django.core.exceptions.FieldError: Local field 'friends' in class
> 'Person' clashes with field of similar name from    abstract base
> class 'Attributes'
>
> Attributes is an abstract super class.
>
> Any idea? I worked in previous version, without inheritance, of
> course...

You haven't pasted in your Attributes class but see a caution aboute
"related_name" here:
http://www.djangoproject.com/documentation/model-api/#be-careful-with-related-name
--~--~---------~--~----~------------~-------~--~----~
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