后台的配置python
1.建立后台管理员django
[root@localhost study_django]# python manage.py createsuperuser [root@localhost study_django]# ./manage.py createsuperuser
2.启动服务,运行项目bash
[root@localhost study_django]# python manage.py runserver 0.0.0.0:8000
3.后台登陆地址:http://localhost:8000/admin,或直接使用IP访问:http://49.232.56.69:8000/adminspa