django admin customization

Solutions on MaxInterview for django admin customization by the best coders in the world

showing results for - "django admin customization"
Helena
12 Apr 2018
1# project/urls.py
2admin.site.site_header = “Your Admin Heading”
3admin.site.site_title = “Your Admin Portal"
4admin.site.index_title = "Welcome to Admin Portal"
Camila
31 Sep 2017
1from django.contrib import admin
2
3class BookInline(admin.TabularInline):
4    model = Book
5
6class AuthorAdmin(admin.ModelAdmin):
7    inlines = [
8        BookInline,
9    ]
10