To change the admin site header text, login page, and the HTML title tag of our bookstore’s instead, add the following code in urls.py . The site_header changes the Django administration text which appears on the login page and the admin site. The site_title changes the text added to the <title> of every admin page.
Read moreHow do I change the display name in Django?
How to change display name of Model Instances in Django admin interface? To change the display name we will use def __str__() function in a model . str function in a django model returns a string that is exactly rendered as the display name of instances for that model.13 Şub 2020
Read more