安装:pip install django
配置PATH环境变量:C:/Python27/Scripts;
django-admin startproject mytest
django-admin startapp myapp
部署一个django应用,需要修改它的settings.py,更改INSTALLED_APPS并把你的应用的名字加进去,如
, , , , , , ,
运行django: python manage.py runserver
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/185235.html