如果app01想要被管理的话,必须授权允许管理admin.py文件写入下面的内容
from django.contrib import admin from app01 import models # Register your models here. admin.site.register(models.Account) admin.site.register(models.Article) admin.site.register(models.Tag)开启Django >> python3 manage.py runserver 0.0.0.0:8000