per page, with , order by , clip by
Results of 1 - 10 of about 25 for configure (0.002 sec.)
Djangoの設定 15857
Djangoの設定 Djangoの設定ファイルには、インストールしたDjangoの全ての設定が含まれています。このドキュメントでは、各設定の役割と、どのような設定を利用できるか説明していきます。 基礎 設定ファイルはモジュールレベルの変数が記述された、ただのPyt ... しょう。 こういったケースのため、Djangoでは以下の関数を呼ぶことで手動で設定できるようになっています。 django.conf.settings. configure ( default_settings , ** settings ) 実装例: from django.conf import settings settings . configure ( DEBUG = True ) configur ... ができ、各キーワード引数は設定とその値を表します。各引数名はすべて大文字で、上述の設定と同じ名前であるべきです。特定の設定が configure() に渡されず、後で必要になった場合、Djangoはデフォルトの設定値を使用します。 この方法でDjangoを設定することは、主にフレーム ... ワークの一部をより大きなアプリケーション内で使用している場合に必要であり、実際に推奨されています。 したがって、 settings.configure() を介して設定された場合、Djangoはプロセス環境変数を変更しません (これが通常発生する理由については、 TIME_ZONE のドキュメン ...
https://man.mtool.work/django/6.1/topics/settings.html
SpatiaLite のインストール 10527
SpatiaLite のインストール SpatiaLite はSQLiteに空間データのサポートを追加し、それを完全な機能を持つ空間データベースに変えます。 まず、システムパッケージやバイナリから SpatiaLiteを インストールできるかどうかを確認してください。 例えば、Spati ... e.org/YYYY/sqlite-amalgamation-XXX0000.zip $ unzip sqlite-amalgamation-XXX0000.zip $ cd sqlite-amalgamation-XXX0000 次に、 configure スクリプトを実行します。ただし、SQLite が R*Tree モジュールをビルドすることを認識できるように、 CFLAGS 環境変数をカスタマイ ... ズする必要があります: $ CFLAGS = "-DSQLITE_ENABLE_RTREE=1" ./configure $ make $ sudo make install $ cd .. SpatiaLite ライブラリ ( libspatialite ) download page から最新の SpatiaLite ライブラリの ... ia-sins/libspatialite-sources/libspatialite-X.Y.Z.tar.gz $ tar xaf libspatialite-X.Y.Z.tar.gz $ cd libspatialite-X.Y.Z $ ./configure $ make $ sudo make install 注釈 macOS ユーザーがソースからビルドする場合、SpatiaLite ライブラリとツールは target を設定する ...
https://man.mtool.work/django/6.1/ref/contrib/gis/install/spatialite.html
Coding style 8867
Coding style Please follow these coding standards when writing code for inclusion in Django. Pre-commit checks pre-commit is a framework for managing pre-commit hooks. These hooks help to identify simple issues before committing code for re ... them. Python style All files should be formatted using the black auto-formatter. This will be run by pre-commit if that is configured. The project repository includes an .editorconfig file. We recommend using a text editor with EditorConfig support to avo ... ANGO_SETTINGS_MODULE environment variable) is allowed and possible as follows: from django.conf import settings settings . configure ({}, SOME_SETTING = "foo" ) However, if any setting is accessed before the settings.configure line, this will not work. (I ... nternally, settings is a LazyObject which configures itself automatically when the settings are accessed if it has not already been configured). So, if there is a module cont ...
https://man.mtool.work/django/6.1/internals/contributing/writing-code/coding-sty...
Django 1.3.6 リリースノート 8302
Django 1.3.6 リリースノート February 19, 2013 Django 1.3.6 fixes four security issues present in previous Django releases in the 1.3 series. This is the sixth bugfix/security release in the Django 1.3 series. Host header poisoning Some part ... are generated from the HTTP Host header. Django's documentation has for some time contained notes advising users on how to configure web servers to ensure that only valid Host headers can reach the Django application. However, it has been reported to us t ...
https://man.mtool.work/django/6.1/releases/1.3.6.html
Django 1.4.4 リリースノート 8302
Django 1.4.4 リリースノート February 19, 2013 Django 1.4.4 fixes four security issues present in previous Django releases in the 1.4 series, as well as several other bugs and numerous documentation improvements. This is the fourth bugfix/se ... are generated from the HTTP Host header. Django's documentation has for some time contained notes advising users on how to configure web servers to ensure that only valid Host headers can reach the Django application. However, it has been reported to us t ...
https://man.mtool.work/django/6.1/releases/1.4.4.html
How to use Django's Content Security Policy 8202
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 ... sp.ContentSecurityPolicyMiddleware" , # ... ] Configure the CSP policies in your settings.py using either SECURE_CSP or SECURE_CSP_REPORT_ONLY (or both). The CSP Settings docs pr ...
https://man.mtool.work/django/6.1/howto/csp.html
Django 2.2 リリースノート 8202
Django 2.2 リリースノート April 1, 2019 Django 2.2 へようこそ! このリリースノートでは、 バージョン 2.2 の新機能 と、Django 2.1 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。また、 一部の機能を非推奨 とし ... of TabularInline . django.contrib.auth The HttpRequest is now passed as the first positional argument to RemoteUserBackend.configure_user() , if it accepts it. django.contrib.gis Added Oracle support for the Envelope function. Added SpatiaLite support for ... intractable problems that it has. Use ManifestStaticFilesStorage or a third-party cloud storage instead. RemoteUserBackend.configure_user() is now passed request as the first positional argument, if it accepts it. Support for overrides that don't accept i ...
https://man.mtool.work/django/6.1/releases/2.2.html
Django 4.1 リリースノート 8086
Django 4.1 リリースノート 2022年8月3日 Django 4.1 へようこそ! このリリースノートでは、 バージョン 4.1 の新機能 と、Django 4.0 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。また、 一部の機能を非推奨 とし ... DF2 パスワードハッシュに対するデフォルトのイテレーション回数が 320,000 から 390,000 に増加しました。 The RemoteUserBackend.configure_user() method now allows synchronizing user attributes with attributes in a remote system such as an LDAP directory. djang ... rs is deprecated. In Django 5.0, the exception will be raised. created=True is added to the signature of RemoteUserBackend.configure_user() . Support for RemoteUserBackend subclasses that do not accept this argument is deprecated. datetime.timezone.utc へ ...
https://man.mtool.work/django/6.1/releases/4.1.html
Django のユーザーデータベースに対する Apache からの認証 7970
Django のユーザーデータベースに対する Apache からの認証 Since keeping multiple authentication databases in sync is a common problem when dealing with Apache, you can configure Apache to authenticate against Django's authentication system di ...
https://man.mtool.work/django/6.1/howto/deployment/wsgi/apache-auth.html
Sprint quickstart guide 7970
Sprint quickstart guide This document explains how to prepare to contribute to Django. It is intended for use during sprints, or by people who are already familiar with contributing to Python open source projects. This guide assumes you're ... めて貢献する for a longer, step-by-step tutorial. Set up Fork the repository on GitHub, clone your fork to your machine, and configure a remote reference to Django's upstream repository: /  $ git clone https://github.com/YourGitHubName/django.git $ cd dj ...
https://man.mtool.work/django/6.1/internals/contributing/sprint-quickstart.html
PREV 1 2 3 NEXT