admin

1. Start the development server, and then visit http://127.0.0.1:8000/admin/ in the browser to get the login interface. You can   create a superuser by using the command python manage.py createsuperuser .

2、admin.py

admin http://www.cnblogs.com/yuanchenqi/articles/8323452 .html (models)Management

from .models import *
admin.site.register(UserInfo)
...
admin.py

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324482865&siteId=291194637