Register a model to django admin

| Tag python  django  models  admin 

To add a model to admin, go to admin.py in an app folder, and register the model with the following:

from django.contrib import admin
from .models import Movie

admin.site.register(Movie)

Prev     Next