Thursday, March 31, 2011

Re: idiotic foreignkey error

I needed to declare fk_name in the inline formsets.

I still stand by the fact that it's an idiotic error message. Not
helpful at all.

On Mar 31, 2:26 pm, Nick <nickt...@gmail.com> wrote:
> sorry, they have unique names. When i was writing this message out I
> messed them up. the names are arace, brace and crace.
>
> I think this has something to do with some relic inlinde formsets I
> was using a while ago.
>
> On Mar 31, 2:19 pm, Shawn Milochik <sh...@milochik.com> wrote:
>
> > They need unique related_name values.

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