per page, with , order by , clip by
Results of 1 - 10 of about 114 for defaults (0.006 sec.)
リレーション先オブジェクトのリファレンス — Django 6.1 ドキュメント 11061
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » リレーション先オブジェクトのリファレンス ¶ class RelatedManager ¶ "関係マネージャ(related manager)"とは、1対多または多対多の関係するコンテキストで ... この例では、以下のメソッドは topping.pizza_set と pizza.toppings の両方で利用できます。 add ( * objs , bulk = True , through_defaults = None ) ¶ aadd ( * objs , bulk = True , through_defaults = None ) ¶ 非同期バージョン : aadd() リレーション先オブジェクトの ... 合、 add() は *objs 引数としてモデルインスタンスかフィールドの値(通常は主キー)を受け付けます。 必要であれば、引数 through_defaults を使用して、新しい 中間モデル インスタンスの値を指定します。呼び出し可能オブジェクトを through_defaults 辞書の値として使用 ... することができ、中間インスタンスを作成する前に一度だけ評価されます。 create ( through_defaults = None , ** kwargs ) ¶ acreate ( through_defaults = None , ** kwargs ) ¶ 非同期バージョン : acreate() 新しいオブジェクトを ...
https://man.mtool.work/django/6.1/ref/models/relations.html
リレーション先オブジェクトのリファレンス — Django 6.1 ドキュメント 10973
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » リレーション先オブジェクトのリファレンス ¶ class RelatedManager ¶ "関係マネージャ(related manager)"とは、1対多または多対多の関係するコンテキストで ... この例では、以下のメソッドは topping.pizza_set と pizza.toppings の両方で利用できます。 add ( * objs , bulk = True , through_defaults = None ) ¶ aadd ( * objs , bulk = True , through_defaults = None ) ¶ 非同期バージョン : aadd() リレーション先オブジェクトの ... 合、 add() は *objs 引数としてモデルインスタンスかフィールドの値(通常は主キー)を受け付けます。 必要であれば、引数 through_defaults を使用して、新しい 中間モデル インスタンスの値を指定します。呼び出し可能オブジェクトを through_defaults 辞書の値として使用 ... することができ、中間インスタンスを作成する前に一度だけ評価されます。 create ( through_defaults = None , ** kwargs ) ¶ acreate ( through_defaults = None , ** kwargs ) ¶ 非同期バージョン : acreate() 新しいオブジェクトを ...
https://man.mtool.work/django/6.1/ref/models/relations.html
Tasks — Django 6.1 ドキュメント 10294
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Tasks ¶ New in Django 6.0. The Task framework provides the contract and plumbing for background work, not the engine that runs it. The Tasks API def ... The @task decorator defines a Task instance. All keyword arguments are passed directly to the backend's task_class (which defaults to Task ). The following standard arguments are supported: priority : Sets the priority of the Task . Defaults to 0. queue ... _name : Sets the queue_name of the Task . Defaults to "default" . backend : Sets the backend of the Task . Defaults to "default" . takes_context : Controls whether the Task ... function accepts a TaskContext . Defaults to False . See Task context for details. Custom Task backends may define a custom task_class that accepts additional argum ...
https://man.mtool.work/django/6.1/ref/tasks.html
Tasks — Django 6.1 ドキュメント 10193
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Tasks ¶ New in Django 6.0. The Task framework provides the contract and plumbing for background work, not the engine that runs it. The Tasks API def ... The @task decorator defines a Task instance. All keyword arguments are passed directly to the backend's task_class (which defaults to Task ). The following standard arguments are supported: priority : Sets the priority of the Task . Defaults to 0. queue ... _name : Sets the queue_name of the Task . Defaults to "default" . backend : Sets the backend of the Task . Defaults to "default" . takes_context : Controls whether the Task ... function accepts a TaskContext . Defaults to False . See Task context for details. Custom Task backends may define a custom task_class that accepts additional argum ...
https://man.mtool.work/django/6.1/ref/tasks.html
組み込みのビュー — Django 6.1 ドキュメント 10193
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 組み込みのビュー ¶ Django の組み込みビューのいくつかは、 ビューを記述する や他のドキュメントで説明されています。 開発中のファイルの配信 ¶ static. se ... らを独自のカスタムビューで上書きするには、 エラービューをカスタマイズする を参照してください。 404 (page not found) ビュー ¶ defaults. page_not_found ( request , exception , template_name = '404.html' ) ¶ ビュー内で Http404 を発生させると、 Django は 404 エ ... ラーの処理に特化した特別なビューを読み込みます。デフォルトでは django.views.defaults.page_not_found() というビューで、"Not Found" メッセージを表示するか、ルートテンプレートディレクトリにテンプレート 404.html ... 設定モジュール内)、404ビューは使用されず、代わりに URLconf がデバッグ情報と共に表示されます。 500(サーバーエラー)ビュー ¶ defaults. server_error ( request , template_name = '500.html' ) ¶ 同様に、Django はビューコードで実行時エラーが発生した場合、特別な ...
https://man.mtool.work/django/6.1/ref/views.html
組み込みのビュー — Django 6.1 ドキュメント 10092
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 組み込みのビュー ¶ Django の組み込みビューのいくつかは、 ビューを記述する や他のドキュメントで説明されています。 開発中のファイルの配信 ¶ static. se ... らを独自のカスタムビューで上書きするには、 エラービューをカスタマイズする を参照してください。 404 (page not found) ビュー ¶ defaults. page_not_found ( request , exception , template_name = '404.html' ) ¶ ビュー内で Http404 を発生させると、 Django は 404 エ ... ラーの処理に特化した特別なビューを読み込みます。デフォルトでは django.views.defaults.page_not_found() というビューで、"Not Found" メッセージを表示するか、ルートテンプレートディレクトリにテンプレート 404.html ... 設定モジュール内)、404ビューは使用されず、代わりに URLconf がデバッグ情報と共に表示されます。 500(サーバーエラー)ビュー ¶ defaults. server_error ( request , template_name = '500.html' ) ¶ 同様に、Django はビューコードで実行時エラーが発生した場合、特別な ...
https://man.mtool.work/django/6.1/ref/views.html
QuerySet API リファレンス — Django 6.1 ドキュメント 9224
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » QuerySet API リファレンス ¶ このドキュメントでは、 QuerySet API の詳細を説明しています。 モデル と データベースクエリ ガイドにある説明を前提としてい ... ある必要があるためです。手動の主キーを使用している場合は、例外処理に備える必要があります。 get_or_create() ¶ get_or_create ( defaults = None , ** kwargs ) ¶ aget_or_create ( defaults = None , ** kwargs ) ¶ 非同期バージョン : aget_or_create() 与えられた kwa ... に書き換えることができます: obj , created = Person . objects . get_or_create ( first_name = "John" , last_name = "Lennon" , defaults = { "birthday" : date ( 1940 , 10 , 9 )}, ) Any keyword arguments passed to get_or_create() — except an optional one calle ... d defaults — will be used in a get() call. If an object is found, get_or_create() returns a tuple of that object and False . 警告 この ...
https://man.mtool.work/django/6.1/ref/models/querysets.html
QuerySet API リファレンス — Django 6.1 ドキュメント 9224
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » QuerySet API リファレンス ¶ このドキュメントでは、 QuerySet API の詳細を説明しています。 モデル と データベースクエリ ガイドにある説明を前提としてい ... ある必要があるためです。手動の主キーを使用している場合は、例外処理に備える必要があります。 get_or_create() ¶ get_or_create ( defaults = None , ** kwargs ) ¶ aget_or_create ( defaults = None , ** kwargs ) ¶ 非同期バージョン : aget_or_create() 与えられた kwa ... に書き換えることができます: obj , created = Person . objects . get_or_create ( first_name = "John" , last_name = "Lennon" , defaults = { "birthday" : date ( 1940 , 10 , 9 )}, ) Any keyword arguments passed to get_or_create() — except an optional one calle ... d defaults — will be used in a get() call. If an object is found, get_or_create() returns a tuple of that object and False . 警告 この ...
https://man.mtool.work/django/6.1/ref/models/querysets.html
Djangoの設定 — Django 6.1 ドキュメント 9224
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Djangoの設定 ¶ Djangoの設定ファイルには、インストールしたDjangoの全ての設定が含まれています。このドキュメントでは、各設定の役割と、どのような設定を利 ... 呼び出し時の default_settings 引数(または最初の位置引数)として渡すことができます。 この例では、デフォルトの設定は myapp_defaults から取得され、 DEBUG 設定は myapp_defaults での値に関係なく True に設定されます: from django.conf import settings from mya ... pp import myapp_defaults settings . configure ( default_settings = myapp_defaults , DEBUG = True ) 次の例では、 myapp_defaults を位置引数として使っ ... ていますが、等価です: settings . configure ( myapp_defaults , DEBUG = True ) 通常、このような方法でデフォルトを上書きする必要はありません。Django のデフォ ルトは十分に無難なので、安全 ...
https://man.mtool.work/django/6.1/topics/settings.html
Djangoの設定 — Django 6.1 ドキュメント 9123
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Djangoの設定 ¶ Djangoの設定ファイルには、インストールしたDjangoの全ての設定が含まれています。このドキュメントでは、各設定の役割と、どのような設定を利 ... 呼び出し時の default_settings 引数(または最初の位置引数)として渡すことができます。 この例では、デフォルトの設定は myapp_defaults から取得され、 DEBUG 設定は myapp_defaults での値に関係なく True に設定されます: from django.conf import settings from mya ... pp import myapp_defaults settings . configure ( default_settings = myapp_defaults , DEBUG = True ) 次の例では、 myapp_defaults を位置引数として使っ ... ていますが、等価です: settings . configure ( myapp_defaults , DEBUG = True ) 通常、このような方法でデフォルトを上書きする必要はありません。Django のデフォ ルトは十分に無難なので、安全 ...
https://man.mtool.work/django/6.1/topics/settings.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT