I believe you need to specify a related name argument:
http://www.djangoproject.com/documentation/model-api/#be-careful-with-related-name

On May 1, 3:18 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
> On Thu, May 1, 2008 at 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...
>
> It would help if you posted the definition for Attributes.
>
> Karen
--~--~---------~--~----~------------~-------~--~----~
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