per page, with , order by , clip by
Results of 1 - 10 of about 21 for collectstatic (0.006 sec.)
staticfiles アプリ 14122
staticfiles アプリ django.contrib.staticfiles は、各アプリケーション(と、あらかじめ指定した他の場所)から静的ファイルを収集し、本番環境で簡単に提供できるように一か所にまとめます。 参考 静的ファイルアプリの導入と活用例については、 静的ファイ ... STATIC_URL STATICFILES_DIRS STATICFILES_FINDERS 管理コマンド django.contrib.staticfiles は3つの管理コマンドを提供します。 collectstatic django-admin collectstatic 静的ファイルを STATIC_ROOT に収集します。 デフォルトでは、重複するファイル名はテンプレートの解決 ... イルが反映されたかわからない場合は、 findstatic コマンドを使用して、どのファイルが適用されたかを確認できます。 その後、再度 collectstatic を実行すると、( STATIC_ROOT が空でない限り)収集元のファイルは、そのタイムスタンプが STATIC_ROOT にあるファイルのタイムス ... タンプよりも後の日時であるときのみコピーされます。そのため、 INSTALLED_APPS からアプリケーションを削除するときは、 collectstatic --clear を実行することで古い静的ファイルを削除すると良いでしょう。 ファイルの検索には、 有効化された検索システム が使用され ...
https://man.mtool.work/django/6.1/ref/contrib/staticfiles.html
静的ファイルをデプロイする 11315
静的ファイルをデプロイする 参考 django.contrib.staticfiles の使い方の基本に関しては、 静的ファイル (画像、JavaScript、CSS など) を管理する を読んでください。 本番環境における静的ファイルの配信 本番環境で静的ファイルを配置する基本的な手順は、 ... 次の2ステップからなります。まず、静的ファイルが変更されたときに collectstatic コマンドを実行します。その後、収集された静的ファイルのディレクトリ ( STATIC_ROOT ) を静的ファイルサーバーに移動し、配信でき ... いるのと同じサーバから配信したい場合、配信の手順は次のようになります。 デプロイするサーバにコードを push する。 サーバ側で、 collectstatic を実行することで、すべての静的ファイルを STATIC_ROOT で設定したディレクトリに集める。 STATIC_ROOT に置かれたファイルを STA ... Django が実行されていないので、次のようにデプロイの戦略を変更する必要があります。 静的ファイルが変更されたら、ローカル側で collectstatic を実行する。 ローカルの STATIC_ROOT を静的ファイルサーバのファイル配信ディレクトリに push します。これには通常、 rsync を使 ...
https://man.mtool.work/django/6.1/howto/static-files/deployment.html
索引 9995
索引 記号 | _ | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | ア | イ | ク | コ | シ | ス | テ | ハ | ヒ | フ | メ | モ | ロ | 具 | 国 | 環 | 翻 | 表 | 言 | 長 記号 -- dbshell コマン ... akemigrations コマンドラインオプション migrate コマンドラインオプション optimizemigration コマンドラインオプション --clear collectstatic コマンドラインオプション --command shell コマンドラインオプション --database changepassword コマンドラインオプション check ... コマンドラインオプション --deploy check コマンドラインオプション --domain makemessages コマンドラインオプション --dry-run collectstatic コマンドラインオプション createcachetable コマンドラインオプション makemigrations コマンドラインオプション --durations tes ... mpdata コマンドラインオプション loaddata コマンドラインオプション --geom-name ogrinspect コマンドラインオプション --ignore collectstatic コマンドラインオプション compilemessages コマンドラインオプション makemessages コマンドラインオプション --ignorenonexisten ...
https://man.mtool.work/django/6.1/genindex.html
Django 1.10.5 リリースノート 9336
Django 1.10.5 リリースノート January 4, 2017 Django 1.10.5 fixes several bugs in 1.10.4. バグ修正 Fixed a crash in the debug view if request.user can't be retrieved, such as if the database is unavailable ( #27567 ). Fixed occasional missin ... imesince and timeuntil filters that caused incorrect results for dates in a leap year ( #27637 ). Fixed a regression where collectstatic overwrote newer files in remote storages ( #27658 ). ...
https://man.mtool.work/django/6.1/releases/1.10.5.html
静的ファイル (画像、JavaScript、CSS など) を管理する 8997
静的ファイル (画像、JavaScript、CSS など) を管理する Websites generally need to serve additional files such as images, JavaScript, or CSS. In Django, we refer to these files as "static files". Django provides django.contrib.staticfiles to h ... estCase を同梱しています。これは組み込みのサブクラスで、開発時に DEBUG = True を指定した場合と非常によく似た方法で、つまり collectstatic を使って最初にアセットを収集することなく、テストの実行中にすべてのアセットを透過的に提供する機能を持っています。 デプロイ ... T 設定で、どのディレクトリから静的ファイルを配信するかを指定します。たとえば: STATIC_ROOT = "/var/www/example.com/static/" collectstatic 管理コマンドを実行します $ python manage.py collectstatic これにより、各 static フォルダから STATIC_ROOT のディレクトリにフ ...
https://man.mtool.work/django/6.1/howto/static-files/
Django 2.2.16 リリースノート 8845
Django 2.2.16 リリースノート September 1, 2020 Django 2.2.16 fixes two security issues and two data loss bugs in 2.2.15. CVE-2020-24583: Incorrect permissions on intermediate-level directories on Python 3.7+ On Python 3.7+, FILE_UPLOAD_DIRE ... irectories created in the process of uploading files and to intermediate-level collected static directories when using the collectstatic management command. You should review and manually fix permissions on existing intermediate-level directories. CVE-2020-24 ...
https://man.mtool.work/django/6.1/releases/2.2.16.html
Django 3.0.10 リリースノート 8845
Django 3.0.10 リリースノート September 1, 2020 Django 3.0.10 fixes two security issues and two data loss bugs in 3.0.9. CVE-2020-24583: Incorrect permissions on intermediate-level directories on Python 3.7+ On Python 3.7+, FILE_UPLOAD_DIREC ... irectories created in the process of uploading files and to intermediate-level collected static directories when using the collectstatic management command. You should review and manually fix permissions on existing intermediate-level directories. CVE-2020-24 ...
https://man.mtool.work/django/6.1/releases/3.0.10.html
Django 1.6.2 リリースノート 8676
Django 1.6.2 リリースノート February 6, 2014 This is Django 1.6.2, a bugfix release for Django 1.6. Django 1.6.2 fixes several bugs in 1.6.1: Prevented the base geometry object of a prepared geometry to be garbage collected, which could lea ... en executing the changepassword command when the user object representation contained non-ASCII characters ( #21627 ). The collectstatic command will raise an error rather than default to using the current working directory if STATIC_ROOT is not set. Combined ...
https://man.mtool.work/django/6.1/releases/1.6.2.html
Django 1.9.5 リリースノート 8507
Django 1.9.5 リリースノート April 1, 2016 Django 1.9.5 では、1.9.4 にあったいくつかのバグを修正しました。 バグ修正 Made MultiPartParser ignore filenames that normalize to an empty string to fix crash in MemoryFileUploadHandler on specially ... r earlier versions of Django. Fixed a memory leak in the cached template loader ( #26306 ). Fixed a regression that caused collectstatic --clear to fail if the storage doesn't implement path() ( #26297 ). Fixed a crash when using a reverse lookup with a subqu ...
https://man.mtool.work/django/6.1/releases/1.9.5.html
設定 8338
設定 警告 設定を上書きするとき、特にデフォルト値が空でないリストや辞書の場合、例えば STATICFILES_FINDERS などは、注意してください。Djangoの使用したい機能に必要なコンポーネントを保持するようにしてください。 コアの設定 ここでは、Django の cor ... ORY_PERMISSIONS デフォルト値: None ファイルのアップロードの過程で作成されるディレクトリに適用する数値モード。 この設定は、 collectstatic 管理コマンドを使用する際の、収集された静的ディレクトリのデフォルト権限も決定します。それを上書きする方法の詳細については、 ... collectstatic を参照してください。 この値には FILE_UPLOAD_PERMISSIONS 設定の機能と同様の注意点があります。 FILE_UPLOAD_PERMISSIONS デフォ ... す。 セキュリティ上の理由から、これらの権限は FILE_UPLOAD_TEMP_DIR に保存される一時ファイルには適用されません。 この設定は、 collectstatic 管理コマンドを使用して静的ファイルを収集する際のデフォルト権限も決定します。それをオーバーライドする方法については、 colle ...
https://man.mtool.work/django/6.1/ref/settings.html
PREV 1 2 3 NEXT