django admin page customization code example
Example 1: django admin register
from django.contrib import admin
from .models import Author
@admin.register(Author)
class AuthorAdmin(admin.ModelAdmin):
pass
Example 2: django admin customization
# project/urls.py
admin.site.site_header = “Your Admin Heading”
admin.site.site_title = “Your Admin Portal"
admin.site.index_title = "Welcome to Admin Portal"