python:django:django_install

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
python:django:django_install [2020/12/11 17:17] – [Linux] ともやんpython:django:django_install [2020/12/11 17:34] (現在) – [Linux] ともやん
行 29: 行 29:
  
 <code> <code>
-$ python -c "import django; print(django.get_version())"+$ python -django --version"
 </code> </code>
 <WRAP prewrap 100% #result> <WRAP prewrap 100% #result>
行 91: 行 91:
 <WRAP prewrap 100% #result_long> <WRAP prewrap 100% #result_long>
 <code> <code>
-Type 'django-admin help <subcommand>' for help on a specific subcommand.+Type 'django-admin.py help <subcommand>' for help on a specific subcommand.
  
 Available subcommands: Available subcommands:
行 122: 行 122:
 Note that only Django core commands are listed as settings are not properly configured (error: Requested setting INSTALLED_APPS, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.). Note that only Django core commands are listed as settings are not properly configured (error: Requested setting INSTALLED_APPS, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.).
 </code> </code>
 +</WRAP>
  
 ===== Windows ===== ===== Windows =====
  • python/django/django_install.txt
  • 最終更新: 2020/12/11 17:34
  • by ともやん