per page, with , order by , clip by
Results of 1 - 10 of about 102 for conf (0.004 sec.)
Djangoの設定 — Django 6.1 ドキュメント 13626
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Djangoの設定 ¶ Djangoの設定ファイルには、インストールしたDjangoの全ての設定が含まれています。このドキュメントでは、各設定の役割と、どのような設定を利 ... 必要のない限り設定を行う必要はありません。各々の設定には注意深く決められたデフォルト値が入っています。デフォルト値は django/conf/global_settings.py に記述されています。 Django が設定をコンパイルする際には、以下のようなアルゴリズムを使います: global_se ... ffsettings のドキュメントを参照してください。 Pythonのコード内で設定を参照する ¶ 自作のDjangoアプリケーションからは django.conf.settings をimportすることで設定を参照できます。例: from django.conf import settings if settings . DEBUG : # Do something . ... .. django.conf.settings はモジュールではなく、ただのオブジェクトです。そのため個々の設定は別々にimportできません。 from django.conf.setti ...
https://man.mtool.work/django/6.1/topics/settings.html
Djangoの設定 — Django 6.1 ドキュメント 13626
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Djangoの設定 ¶ Djangoの設定ファイルには、インストールしたDjangoの全ての設定が含まれています。このドキュメントでは、各設定の役割と、どのような設定を利 ... 必要のない限り設定を行う必要はありません。各々の設定には注意深く決められたデフォルト値が入っています。デフォルト値は django/conf/global_settings.py に記述されています。 Django が設定をコンパイルする際には、以下のようなアルゴリズムを使います: global_se ... ffsettings のドキュメントを参照してください。 Pythonのコード内で設定を参照する ¶ 自作のDjangoアプリケーションからは django.conf.settings をimportすることで設定を参照できます。例: from django.conf import settings if settings . DEBUG : # Do something . ... .. django.conf.settings はモジュールではなく、ただのオブジェクトです。そのため個々の設定は別々にimportできません。 from django.conf.setti ...
https://man.mtool.work/django/6.1/topics/settings.html
Pythonモジュール索引 — Django 6.1 ドキュメント 8346
Django 6.1 ドキュメント Home | Table of contents | Index | Modules up Pythonモジュール索引 a | c | d | f | h | m | s | t | u | v a django.apps c django.conf django.conf.urls django.conf.urls.i18n django.contrib django.contrib.admin Django's ... est.signals Signals sent during testing. django.test.utils Helpers to write custom test runners. u django.urls django.urls.conf Functions for use in URLconfs. django.utils Django's built-in utilities. django.utils.cache Helper functions for controlli ...
https://man.mtool.work/django/6.1/py-modindex.html
Pythonモジュール索引 — Django 6.1 ドキュメント 8346
Django 6.1 ドキュメント Home | Table of contents | Index | Modules up Pythonモジュール索引 a | c | d | f | h | m | s | t | u | v a django.apps c django.conf django.conf.urls django.conf.urls.i18n django.contrib django.contrib.admin Django's ... est.signals Signals sent during testing. django.test.utils Helpers to write custom test runners. u django.urls django.urls.conf Functions for use in URLconfs. django.utils Django's built-in utilities. django.utils.cache Helper functions for controlli ...
https://man.mtool.work/django/6.1/py-modindex.html
静的ファイル (画像、JavaScript、CSS など) を管理する — Django 6.1 ドキュメント 8217
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 静的ファイル (画像、JavaScript、CSS など) を管理する ¶ Websites generally need to serve additional files such as images, JavaScript, or CSS. In Djan ... い。 例えば、 STATIC_URL が static/ として定義されている場合、これを行うには urls.py に以下のコードを追加します: from django.conf import settings from django.conf.urls.static import static urlpatterns = [ # ... the rest of your URLconf goes here ... ] ... 静的ファイルをデプロイする を参照ください。 例えば、 MEDIA_URL が media/ として定義されている場合、これを行うには ROOT_URLCONF に以下のコードを追加します: from django.conf import settings from django.conf.urls.static import static urlpatterns = [ # ... ... the rest of your URLconf goes here ... ] + static ( settings . MEDIA_URL , document_root = settings . MEDIA_ROOT ) 注釈 このヘルパー関数はデバッグモ ...
https://man.mtool.work/django/6.1/howto/static-files/
Coding style — Django 6.1 ドキュメント 8217
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Coding style ¶ Please follow these coding standards when writing code for inclusion in Django. Pre-commit checks ¶ pre-commit is a framework for man ... em. 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 t ... all "isort >= 7.0.0" ...\> isort . This runs isort recursively from your current directory, modifying any files that don't conform to the guidelines. If you need to have imports out of order (to avoid a circular import, for example) use a comment lik ... ss MyModel ( models . Model ): class Direction ( models . TextChoices ): UP = "U" , "Up" DOWN = "D" , "Down" Use of django.conf.settings ¶ Modules should not in general use settings stored in django.conf.settings at the top level (i.e. evaluated when ...
https://man.mtool.work/django/6.1/internals/contributing/writing-code/coding-sty...
静的ファイル (画像、JavaScript、CSS など) を管理する — Django 6.1 ドキュメント 8217
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 静的ファイル (画像、JavaScript、CSS など) を管理する ¶ Websites generally need to serve additional files such as images, JavaScript, or CSS. In Djan ... い。 例えば、 STATIC_URL が static/ として定義されている場合、これを行うには urls.py に以下のコードを追加します: from django.conf import settings from django.conf.urls.static import static urlpatterns = [ # ... the rest of your URLconf goes here ... ] ... 静的ファイルをデプロイする を参照ください。 例えば、 MEDIA_URL が media/ として定義されている場合、これを行うには ROOT_URLCONF に以下のコードを追加します: from django.conf import settings from django.conf.urls.static import static urlpatterns = [ # ... ... the rest of your URLconf goes here ... ] + static ( settings . MEDIA_URL , document_root = settings . MEDIA_ROOT ) 注釈 このヘルパー関数はデバッグモ ...
https://man.mtool.work/django/6.1/howto/static-files/
Coding style — Django 6.1 ドキュメント 8217
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Coding style ¶ Please follow these coding standards when writing code for inclusion in Django. Pre-commit checks ¶ pre-commit is a framework for man ... em. 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 t ... all "isort >= 7.0.0" ...\> isort . This runs isort recursively from your current directory, modifying any files that don't conform to the guidelines. If you need to have imports out of order (to avoid a circular import, for example) use a comment lik ... ss MyModel ( models . Model ): class Direction ( models . TextChoices ): UP = "U" , "Up" DOWN = "D" , "Down" Use of django.conf.settings ¶ Modules should not in general use settings stored in django.conf.settings at the top level (i.e. evaluated when ...
https://man.mtool.work/django/6.1/internals/contributing/writing-code/coding-sty...
索引 — Django 6.1 ドキュメント 7699
Django 6.1 ドキュメント Home | Table of contents | Index | Modules up 索引 記号 | _ | 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 | ア | イ | ク | コ | シ | ス | テ | ハ | ヒ | フ | ... ッド) (models.User のメソッド) aclear() (RelatedManager のメソッド) aclear_expired() (backends.base.SessionBase のメソッド) aconfigure_user() (RemoteUserBackend のメソッド) acontains() (django.db.models.query.QuerySet モジュール) ACos (django.db.models ... s の属性) app_name (ResolverMatch の属性) app_names (ResolverMatch の属性) AppCommand (django.core.management のクラス) AppConfig (django.apps のクラス) APPEND_SLASH setting appendlist() (QueryDict のメソッド) AppRegistryNotReady apps (django.apps モ ... ジュール) apps.AdminConfig (django.contrib.admin のクラス) apps.SimpleAdminConfig (django.contrib.admin のクラス) aprefetch_related_objects() (djan ...
https://man.mtool.work/django/6.1/genindex.html
URLconf で使用するための django.urls 関数 — Django 6.1 ドキュメント 7699
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » URLconf で使用するための django.urls 関数 ¶ path() ¶ path ( route , view , kwargs = None , name = None ) ¶ urlpatterns に含める要素を返します。例えば ... ーンは、GETやPOSTのパラメータやドメイン名にはマッチしません。例えば、 https://www.example.com/myapp/ へのリクエストでは、URLconfは myapp/ を探します。また、 https://www.example.com/myapp/?page=3 へのリクエストでも、URLconfは同様に myapp/ を探します。 v ... ース] ¶ include ( pattern_list ) include ( (pattern_list , app_namespace) , namespace=None ) この場所に "含める" べき他のURLconfモジュールへのフルPythonインポートパスを取る関数です。オプションで、エントリが含まれる application namespace と instance nam ... ータに加えてアプリケーションの名前空間の名前を含む 2値タプルを引数として受け入れることもできます。 パラメータ : module -- URLconf モジュール(またはモジュール名) namespace ( str ) -- インクルードされる URL エントリのインスタンス名前空間 pattern_list - ...
https://man.mtool.work/django/6.1/ref/urls.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT