Use case: Want to let an admin create favourite relationships between users. To do this, I am creating a model called Favourites.
class Favourite(models.Model):
user = models.ForeignKey(to=CustomUser, on_delete=models.CASCADE)
otheruser = models.IntegerField()
However, both user and otherusers are both objects in CustomUsers. In the admin console, when adding a favourite I get a list of users, but I do not get a list of other users obviously.
What model field can I use so that when adding a favourite I get a list of users, and when choosing the otheruser that is also a list of users?