📜  在 django admin 中编辑模型 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:25.600000             🧑  作者: Mango

代码示例1
#go to the admin.py inside django app directory
from django.contrib import admin
from .models import 

admin.site.register()

#this should now let you view and interact with your models on /admin