Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

django admin register mdoel

from django.contrib import admin
from myproject.myapp.models import Author

admin.site.register(Author)
Source by docs.djangoproject.com #
 
PREVIOUS NEXT
Tagged: #django #admin #register #mdoel
ADD COMMENT
Topic
Name
2+9 =