... django-admin shell may hang on startup ( #29774 ). Fixed a regression in Django 2.0 where test databases aren't reused with manage.py test --keepdb on MySQL ( #2 ... ... C_DISABLE_INITIALIZE_FORK_SAFETY = YES ./runtests.py Or add export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES to your shell's startup file (e.g. ~/.profile ). Many test failures with UnicodeEncodeError If the locales package is not installed, some tests wi ... LC_ALL = "en_US.UTF-8" Run the locale command to confirm the change. Optionally, add those export commands to your shell's startup file (e.g. ~/.bashrc for Bash) to avoid having to retype them. Tests that only fail in combination In case a test passes w ... ... On PostgreSQL, dbshell now supports specifying a password file. The shell command now respects sys.__interactivehook__ at startup. This allows loading shell history between interactive sessions. As a consequence, readline is no longer loaded if running ... ... re it's possible to attach configuration data to applications. Improvements thus far include: Applications can run code at startup, before Django does anything else, with the ready() method of their configuration. Application labels are assigned correct ... ... ション --no-optimize squashmigrations コマンドラインオプション --no-post-process collectstatic コマンドラインオプション --no-startup shell コマンドラインオプション --no-wrap makemessages コマンドラインオプション --noinput collectstatic コマンドラインオプシ ... P 448 PEP 487 PEP 491 , [1] , [2] PEP 625 , [1] , [2] PEP 657 PEP 678 PEP 8 , [1] , [2] , [3] PYTHONPATH , [1] , [2] PYTHONSTARTUP PYTHONUTF8 PYTHONWARNINGS Q Q (django.db.models のクラス) quarter field lookup type query_pk_and_slug (django.views.generi ... ... タプリタを強制的に使いたい場合は、インターフェイス名として python を次のように使用します: django-admin shell -i python --no-startup "プレーン" Python インタプリタのスタートアップスクリプトを読み込まないようにします。デフォルトでは PYTHONSTARTUP 環境変数か ... ... lso be called explicitly to pick up files added to the directory after the field was first instantiated (usually at server startup). For example, call it in a form's __init__() to get fresh choices per request: class MyForm ( forms . Form ): my_file = f ... 2026年10月08日