How To Change Django Admin Text

change django administration title
#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"
how to change django admin text
#how to change django admin text
# django admin text change just copy and past this code in you project urls.py
admin.site.site_header = "UMSRA Admin"
admin.site.site_title = "UMSRA Admin Portal"
admin.site.index_title = "Welcome to UMSRA Researcher Portal"
change django administration text
admin.site.site_header = "UMSRA Admin"
admin.site.site_title = "UMSRA Admin Portal"
admin.site.index_title = "Welcome to UMSRA Researcher Portal"
show post id on django admin interface
class BookAdmin(admin.ModelAdmin):
readonly_fields = ('id',)

admin.site.register(Book, BookAdmin)

Leave a Comment