Answers for "what is admin.tabularinline django"

-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