Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

register admin django

from django.contrib import admin
from myproject.myapp.models import * # * means importing every class name of models

admin.site.register(Author)
Source by www.john-player.com #
 
PREVIOUS NEXT
Tagged: #register #admin #django
ADD COMMENT
Topic
Name
7+2 =