I am using the Django inbuilt user authentication system, from from django.contrib.auth.models import User
. And I have realised that in the admin page it always displays the username of the user. Is it possible to change the def __str__ (self):
method of that function to display a customized one, something like this.
def __str__ (self):
return f"{self.first_name}"