我按照this question的答案更改了我的django管理面板标题标题.
我试过这个:
There is an easy way to set admin site header – assign it to current
admin instance in urls.py like this
admin.site.site_header = 'My admin'
但它只是在我通过Python manage.py runserver运行页面时才有效
最佳答案
我按照this question的答案更改了我的django管理面板标题标题.
我试过这个:
There is an easy way to set admin site header – assign it to current
admin instance in urls.py like this
admin.site.site_header = 'My admin'
但它只是在我通过Python manage.py runserver运行页面时才有效