- django-admin startproject <프로젝트명> : 새로운 프로젝트 생성
- python manage.py startapp <앱이름> : 새로운 장고앱 생성
- python manage.py runserver : 개발 서버 실행
- python manage.py makemigrations <앱이름> : 마이그레이션 파일 생성
- python manage.py migrate <앱이름> : 마이그레이션 적용
- python manage.py collectstatic : static 파일들을 settings.STATIC_ROOT 경로로 모음
- python manage.py --help : 지원하는 명령어 목록
Created
December 15, 2016 05:37
-
-
Save allieus/1cb9c29b0b5f3f83550b8038b32ce571 to your computer and use it in GitHub Desktop.
Django 자주 쓰는 manage.py 명령
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment