I\'m trying to do a function that allow a user to follow another one. the problem is when I\'m adding a new user to the \"followings\" the user that follow another user is also
By default, many-to-many relationships on self are symmetrical. If you don't want this, set symmetrical
to False:
followings = models.ManyToManyField('self', blank=True, symmetrical=False)
See the docs
Just set related_name="followed_by" for the many to many field. That would assign the reverse mapping to followed_by
followings = models.ManyToManyField('self', blank=True, symmetrical=False, related_name='followed_by')