per page, with , order by , clip by
Results of 1 - 10 of about 18 for scripts (0.008 sec.)
コンテンツセキュリティポリシー 13332
コンテンツセキュリティポリシー New in Django 6.0. Content Security Policy (CSP) is a web security standard that helps prevent content injection attacks by restricting the sources from which content can be loaded. It plays an important role ... urces from the same origin (same scheme, host, and port). STRICT_DYNAMIC Represents 'strict-dynamic' . Allows execution of scripts loaded by a trusted script (e.g., one with a valid nonce or hash), without needing 'unsafe-inline' . UNSAFE_EVAL Represent ... t hashes match a policy rule. Requires CSP Level 3+. UNSAFE_INLINE Represents 'unsafe-inline' . Allows execution of inline scripts, styles, and javascript: URLs. Generally discouraged, especially for scripts. WASM_UNSAFE_EVAL Represents 'wasm-unsafe-eva ... l' . Permits compilation and execution of WebAssembly code without enabling 'unsafe-eval' for scripts. NONCE Django-specific placeholder value ( "<CSP_NONCE_SENTINEL>" ) used in script-src or style-src directives to activate ...
https://man.mtool.work/django/6.1/ref/csp.html
How to release Django 12388
How to release Django このドキュメントでは、Django のリリース方法について説明しています。 これらの手順を変更した場合は、最新の情報を保ってください! ここでのポイントは、規定を設けるのではなく、説明的であることです。自由に効率化したり、変更し ... re that the tx CLI is available in your PATH . You can then fetch all translations since a given date by running: $ python scripts/manage_translations.py fetch -v 1 --since = <some date> To determine a good value for --since , check the date of the most ... e sure the classifier is set to Development Status :: 5 - Production/Stable . Building the artifacts Optionally use helper scripts You can streamline some of the steps below using helper scripts from the scripts folder: Release script example run: $ PGP ... _KEY_ID = <key-id> PGP_KEY_URL = <key-url> DEST_FOLDER = ~/releases scripts/do_django_release.py Verify the release (after artifacts were uploaded): $ VERSION = 5 .2.1 scripts/verify_release.sh Tag ...
https://man.mtool.work/django/6.1/internals/howto-release-django.html
コードのコミット 10500
コードのコミット This section is addressed to the mergers and to anyone interested in knowing how code gets committed into Django. The コミットガイドライン apply to all contributors, with or without commit rights. If you're a community memb ... etup but relies entirely on remembering to format the message correctly. Option 2: using the helper script in the repo The scripts/backport.sh Bash script automates the cherry-pick and rewrites the commit message with the correct prefix and backport not ... e. Run it from the target stable branch: bash scripts/backport.sh <sha> This is straightforward for clean cherry-picks, but if conflicts are produced, you will need to resolve ... y and add the prefix and backport note to the commit message yourself. Option 3: using the prepare-commit-msg git hook The scripts/prepare_commit_msg.py Python script can be installed as a prepare-commit-msg git hook. It automatically adds the [A.B.x] p ...
https://man.mtool.work/django/6.1/internals/contributing/committing-code.html
Django 1.0.2 リリースノート 9299
Django 1.0.2 リリースノート Django 1.0.2 へようこそ! This is the second "bugfix" release in the Django 1.0 series, improving the stability and performance of the Django 1.0 codebase. As such, Django 1.0.2 contains no new features (and, purs ... go 1.0.2 The primary reason behind this release is to remedy an issue in the recently-released Django 1.0.1; the packaging scripts used for Django 1.0.1 omitted some directories from the final release package, including one directory required by django. ...
https://man.mtool.work/django/6.1/releases/1.0.2.html
How to use Django's Content Security Policy 8836
How to use Django's Content Security Policy Basic config Content Security Policy (CSP) を有効にするには、Django プロジェクトで次のように設定します: Add the CSP middleware to your MIDDLEWARE setting: MIDDLEWARE = [ # ... "django.middleware.c ... style-src directives: from django.utils.csp import CSP SECURE_CSP = { "default-src" : [ CSP . SELF ], # Allow self-hosted scripts and script tags with matching `nonce` attr. "script-src" : [ CSP . SELF , CSP . NONCE ], # Example of the less secure 'uns ... */ </ style > < script nonce = " {{ csp_nonce }} " > // This inline JavaScript will be allowed. </ script > For external <script src="..."> and <link rel="stylesheet"> elements, use the csp_nonce_attr template tag: < script src = "/path/to/script.js" { ...
https://man.mtool.work/django/6.1/howto/csp.html
Djangoソースコードレポジトリ 8356
Djangoソースコードレポジトリ Djangoアプリケーションを本番環境にデプロイするときは、 公式パッケージのDjangoリリース をほぼ常に使いたくなるでしょう。 しかし、次期リリースの開発中のコードを試したり、Djangoの開発に貢献したい場合は、Djangoのソー ... he top-level django module containing Python code, you'll also get a copy of Django's documentation, test suite, packaging scripts and other miscellaneous bits. Django's code will be present in your clone as a directory named django . To try out the in- ...
https://man.mtool.work/django/6.1/internals/git.html
Windows での Django のインストール方法 8115
Windows での Django のインストール方法 This document will guide you through installing Python 3.15 and Django on Windows. It also provides instructions for setting up a virtual environment, which makes it easier to work on Python projects. ... ルダーがまだ存在しなければ作成され、仮想環境が構築されます。環境をアクティブにするには、以下を実行します: ...\> project-name\Scripts\activate 仮想環境がアクティブ化され、コマンドプロンプトの隣にそれを示す "(project-name)" が表示されます。新しいコマンドプロ ...
https://man.mtool.work/django/6.1/howto/windows.html
LayerMapping データインポートユーティリティ 8115
LayerMapping データインポートユーティリティ LayerMapping クラスは、ベクトル空間データファイル (例: shapefile) の内容を GeoDjango モデルにマッピングする方法を提供します。 このユーティリティは、ベクターレイヤーからジオメトリとフィールドを取り ... es when DEBUG=True . Set DEBUG=False in your settings, and this should stop excessive memory use when running LayerMapping scripts. MySQL: max_allowed_packet エラー LayerMapping とMySQLを使用する際に以下のエラーが発生した場合: OperationalError: (1153, " ...
https://man.mtool.work/django/6.1/ref/contrib/gis/layermapping.html
Django 4.0 リリースノート 7652
Django 4.0 リリースノート 2021年12月7日 Django 4.0 へようこそ! このリリースノートでは、 バージョン 4.0 の新機能 と、Django 3.2 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。また、 一部の機能を非推奨 とし ... sions allow using trigram word similarity. django.contrib.staticfiles ManifestStaticFilesStorage now replaces paths to JavaScript source map references with their hashed counterparts. The new manifest_storage argument of ManifestFilesMixin and ManifestS ... rowsers don't honor the X-XSS-Protection HTTP header. You can use Content-Security-Policy without allowing 'unsafe-inline' scripts instead. If you want to support legacy browsers and set the header, use this line in a custom middleware: response . heade ...
https://man.mtool.work/django/6.1/releases/4.0.html
Django 4.1 リリースノート 7652
Django 4.1 リリースノート 2022年8月3日 Django 4.1 へようこそ! このリリースノートでは、 バージョン 4.1 の新機能 と、Django 4.0 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。また、 一部の機能を非推奨 とし ... validated on form submission. 国際化 (internationalization) The i18n_patterns() function now supports languages with both scripts and regions. 管理コマンド makemigrations --no-input now logs default answers and reasons why migrations cannot be created. ...
https://man.mtool.work/django/6.1/releases/4.1.html
PREV 1 2 NEXT