django admin examplew
Example 1: django admin create superuser
$ python manage.py createsuperuser
Example 2: what is admin.tabularinline django
from django.contrib import admin
class BookInline(admin.TabularInline):
model = Book
class AuthorAdmin(admin.ModelAdmin):
inlines = [
BookInline,
]