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  Python code snippet - How to create window in tkinter?

Leave a Reply

Your email address will not be published. Required fields are marked *

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