[Answered ]-Django admin show who submitted the entry

2👍

Your Doctor model will need to have a field that stores this information, such as

submitted_by = ForeignKey(settings.AUTH_USER_MODEL)

You have to make sure to populate this information whenever you create a new instance of Doctor, probably using request.user. Then, in your ModelAdmin, you can just add this field to list_display.

Leave a comment