- 创建 模型
- 创建超级用户 :python manage.py createsuperuser
- admin.py中
from django.contrib import admin from app1 import models # Register your models here. admin.site.register(models.模型)
转载于:https://www.cnblogs.com/Jnhnsnow/p/11532078.html
from django.contrib import admin from app1 import models # Register your models here. admin.site.register(models.模型)
转载于:https://www.cnblogs.com/Jnhnsnow/p/11532078.html