On 9 March 2010 13:30, knight <alexar...@gmail.com> 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: > <class 'cms_sample.world_models.Element'> has more than 1 ForeignKey > to <class 'cms_sample.world_models.World'>. > 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.