On Friday, 23 October 2015 16:35:32 UTC+2, Tom Evans wrote:
'Wishlist.user' and 'User.wishlist' are the names of the fields being
discussed. The meaning might be clearer with some added words:
The reverse query name for the field 'Wishlist.user' clashes with
the field 'User.wishlist' - they are both ''wishlist_set'.
HINT: Rename field 'User.wishlist', or add/change a related_name
argument to the definition for field 'Wishlist.user'.
Yes but the relations names would be wishlist_set on User and user_set on Wishlist? I see no conflict there.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/2982535d-7857-414e-921e-aff968223537%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment