首页 > 其他 > 详细

Django

时间:2020-06-04 13:55:28      阅读:28      评论:0      收藏:0      [点我收藏+]

#env in VS Code

#create the working folder
c:\web

#install the virtual env
sudo apt-get install python3-venv # If needed

#setup the env in local folder
python -m venv env

#start the vs code in this folder
code .

#select the interpreter
ctrl+shift+p select python interpreter

#install django in this env
python -m pip install django

#create a web pages
django-admin startproject CollegeApplication .

#run the server
python manage.py runserver

 

#how to get the version

python

import django

django.VERSION

 

Django

原文:https://www.cnblogs.com/zjbfvfv/p/13042190.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!