Re: more than 1 foreign key

2010-03-09 Thread rebus_
On 9 March 2010 13:30, knight  wrote:
> I have the following models: http://slexy.org/view/s20T8yOiKZ.
> When I try to click add button for worlds in admin page it shows me
> the following error:
>  has more than 1 ForeignKey
> to .
> I think it's something to do with inline.
> What can it be?
>
> Regards, Arshavski Alexander.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To post to this group, send email to django-us...@googlegroups.com.
> To unsubscribe from this group, send email to 
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/django-users?hl=en.
>
>

http://docs.djangoproject.com/en/dev/ref/contrib/admin/#working-with-a-model-with-two-or-more-foreign-keys-to-the-same-parent-model

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



more than 1 foreign key

2010-03-09 Thread knight
I have the following models: http://slexy.org/view/s20T8yOiKZ.
When I try to click add button for worlds in admin page it shows me
the following error:
 has more than 1 ForeignKey
to .
I think it's something to do with inline.
What can it be?

Regards, Arshavski Alexander.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.