Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

django register models

from django.contrib import admin
from .models import <modelname>

admin.site.register(<modelname>)
Source by www.john-player.com #
 
PREVIOUS NEXT
Tagged: #django #register #models
ADD COMMENT
Topic
Name
6+3 =