Skip to content

Python code snippet – How to change django admin text?

#In the project urls.py file
admin.site.site_header = "Admin Portal"
admin.site.site_title = "Admin Portal"
admin.site.index_title = "Welcome to Portal"
See also  How to merge two variables to get an array in Python?

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.