본문 바로가기

컴퓨터 이야기/Python이야기

장고 manage.py명령어

실수로 입력해서 알게된 장고 메니져 파일 명령어다.

가끔 인터넷 돌아다니면 이사람들은 이 명령어를 어디서 보고 안거지? 생각했는데 결국 안에 다있다. 마치 --help 명령어처럼

Usage: manage.py subcommand [options] [args]

Options:
  -v VERBOSITY, --verbosity=VERBOSITY
                        Verbosity level; 0=minimal output, 1=normal output,
                        2=verbose output, 3=very verbose output
  --settings=SETTINGS   The Python path to a settings module, e.g.
                        "myproject.settings.main". If this isn't provided, the
                        DJANGO_SETTINGS_MODULE environment variable will be
                        used.
  --pythonpath=PYTHONPATH
                        A directory to add to the Python path, e.g.
                        "/home/djangoprojects/myproject".
  --traceback           Raise on exception
  --version             show program's version number and exit
  -h, --help            show this help message and exit

Type 'manage.py help <subcommand>' for help on a specific subcommand.

Available subcommands:

[auth]
    changepassword
    createsuperuser

[django]
    check
    cleanup
    compilemessages
    createcachetable
    dbshell
    diffsettings
    dumpdata
    flush
    inspectdb
    loaddata
    makemessages
    runfcgi
    shell
    sql
    sqlall
    sqlclear
    sqlcustom
    sqldropindexes
    sqlflush
    sqlindexes
    sqlinitialdata
    sqlsequencereset
    startapp
    startproject
    syncdb
    test
    testserver
    validate

[sessions]
    clearsessions

[staticfiles]
    collectstatic
    findstatic
    runserver

반응형

'컴퓨터 이야기 > Python이야기' 카테고리의 다른 글

파이썬에서 시스템 명령어 실행하기  (0) 2014.03.14
while 이야기  (0) 2014.02.27
MacOSX에서 MySQLdb설치하기  (0) 2014.02.21
Django mysql import error  (0) 2014.02.12
egg오류 해결방법  (0) 2014.02.12