I introduced the “creator” method into my model as follows:
def creator(self): return self.user
Then I will add this line to the Admin class of this model ^
list_display = ('title','created_at','votes','creator')
And everything was fine ... usernames are displayed in this column, but I want to make links from these names that will redirect me to edit these user profiles. How can i do this? Thank you very much!
source share