📌  相关文章
📜  django 从 python 代码示例运行 manage.py

📅  最后修改于: 2022-03-11 14:47:09.942000             🧑  作者: Mango

代码示例2
rem on window cmd, manage.py can be run from python

python manage.py check              && rem See if django is intalled properly
python manage.py show_urls          && rem Show paths and associated views         
python manage.py list_model_info    && rem Show databases
python manage.py migrate            && rem Sync data definitions to db server config
python manage.py dumpdata           && rem Show data
python manage.py shell              && rem Open a django shell to django python
python manage.py runserver          && rem Starts the django server