1#In the project urls.py file
2admin.site.site_header = "Admin Portal"
3admin.site.site_title = "Admin Portal"
4admin.site.index_title = "Welcome to Portal"
1#how to change django admin text
2# django admin text change just copy and past this code in you project urls.py
3admin.site.site_header = "UMSRA Admin"
4admin.site.site_title = "UMSRA Admin Portal"
5admin.site.index_title = "Welcome to UMSRA Researcher Portal"
1admin.site.site_header = "UMSRA Admin"
2admin.site.site_title = "UMSRA Admin Portal"
3admin.site.index_title = "Welcome to UMSRA Researcher Portal"
4
1class BookAdmin(admin.ModelAdmin):
2 readonly_fields = ('id',)
3
4admin.site.register(Book, BookAdmin)