to be able to diferentiate both follower and following you should define
at least in one of those foreigkeys a related_name argument, so you can
call back from your user.
if you try to do it without related_name django will complain, showing you
the error message and addressing you to the solluti
On Sep 2, 2015 9:51 AM, "jeff newburn" wrote:
>
> I apologize if this is basic and I am just missing something in the
django docs. The Django ORM allows you to do a self reference through
another table. I understand everything about this process EXCEPT how
Django determines which of the foreign
I apologize if this is basic and I am just missing something in the django
docs. The Django ORM allows you to do a self reference through another
table. I understand everything about this process EXCEPT how Django
determines which of the foreign keys to use for each side of the M2M
relationsh
3 matches
Mail list logo