장고가 설치된 상태에서 혹시라도 가상환경에서 빠져나와있다면 pipenv shell 명령어로 다시 돌아가야한다. 그리고 Django-admin 을 입력하면 Available subcommands: [django] check compilemessages createcachetable dbshell diffsettings dumpdata flush inspectdb loaddata makemessages makemigrations migrate runserver sendtestemail shell showmigrations sqlflush sqlmigrate sqlsequencereset squashmigrations startapp startproject test testserver 같은 명령어들이 나타나게..
Window10 Python3 Code Editor : VS Code pip install pipenv 이후 프로젝트 폴더를 생성하자 md DjangoProject 해당 폴더로 이동한 후 cd DjangoProject pipenv --python 3.7 (pipenv --three) 를 입력하면 Successfully created virtual environment! 라는 문구가 뜰것이다 그 상태에서 code 라고 치면 VS Code에서 해당 폴더를 열어준다 Ctrl + ` 단축키를 눌러서 terminal을 열어주자 bash가 아닌 cmd창에서 pipenv shell 이라고 친다 그러면 virtual 환경에서 실행하게 될 것이다. 그 다음 pipenv install Django==2.2.5 를 치면 장..
