Is it possible to change change the database name in django admin site?
Just like how I change the following:
admin.site.site_header = "Administrator"
admin.site.site_title = "Administrator"
admin.site.index_title = "Admin"
CodePudding user response:
There are two options, you can do it manually, or you can do it through the help of an external python library
Manually
You can change the app name by adding verbose_name
under app.py
from django.apps import AppConfig
class PharmacyConfig(AppConfig):
name = 'pharmacy'
verbose_name = 'Your Home Page'