Answers for "customize django admin"

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"
Posted by: Guest on March-07-2021
-1

what is admin.tabularinline django

from django.contrib import admin

class BookInline(admin.TabularInline):
    model = Book

class AuthorAdmin(admin.ModelAdmin):
    inlines = [
        BookInline,
    ]
Posted by: Guest on May-12-2020

Python Answers by Framework

Browse Popular Code Answers by Language