per page, with , order by , clip by
Results of 1 - 10 of about 12 for alters (0.004 sec.)
シンプルなミックスイン (mixin) — Django 6.1 ドキュメント 13442
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » シンプルなミックスイン (mixin) ¶ ContextMixin ¶ class django.views.generic.base. ContextMixin ¶ 属性 extra_context ¶ コンテキストに含める辞書。これは ... ースのジェネリックビューのテンプレートコンテキストには、 View インスタンスを指す view 変数が含まれています。 適切な場合には alters_data を使用する ビュー インスタンスをテンプレートコンテキスト内に持つことは、潜在的に危険なメソッドを、テンプレートの作者に ... 公開してしまう可能性があることに注意してください。このようなメソッドがテンプレート内で呼ばれるのを防ぐには、そのメソッドに alters_data=True を設定してください。より詳しい情報については、 テンプレートコンテキストのレンダリング に関するドキュメントを読ん ... ate インスタンス kwargs キーワード TemplateResponse views generic view ContextMixin base 属性 extra 辞書 TemplateView self alters レンダリング TemplateResponseMixin サブクラス engine エンジン クイック検索 Last update: 2026年10月09日 « previous | up | n ...
https://man.mtool.work/django/6.1/ref/class-based-views/mixins-simple.html
シンプルなミックスイン (mixin) — Django 6.1 ドキュメント 11037
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » シンプルなミックスイン (mixin) ¶ ContextMixin ¶ class django.views.generic.base. ContextMixin ¶ 属性 extra_context ¶ コンテキストに含める辞書。これは ... ースのジェネリックビューのテンプレートコンテキストには、 View インスタンスを指す view 変数が含まれています。 適切な場合には alters_data を使用する ビュー インスタンスをテンプレートコンテキスト内に持つことは、潜在的に危険なメソッドを、テンプレートの作者に ... 公開してしまう可能性があることに注意してください。このようなメソッドがテンプレート内で呼ばれるのを防ぐには、そのメソッドに alters_data=True を設定してください。より詳しい情報については、 テンプレートコンテキストのレンダリング に関するドキュメントを読ん ...
https://man.mtool.work/django/6.1/ref/class-based-views/mixins-simple.html
Python プログラマーのための Django テンプレート言語 — Django 6.1 ドキュメント 9657
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Python プログラマーのための Django テンプレート言語 ¶ この文書は Django テンプレートシステムがどのように動作し、どのように拡張するか、技術的な観点か ... システムはこのようなことをしてはいけません: I will now delete this valuable data. {{ data.delete }} To prevent this, set an alters_data attribute on the callable variable. The template system won't call a variable if it has alters_data=True set, and wil ... ith string_if_invalid , unconditionally. The dynamically-generated delete() and save() methods on Django model objects get alters_data=True automatically. Example: def sensitive_function ( self ): self . database_record . delete () sensitive_function . ... alters_data = True Occasionally you may want to turn off this feature for other reasons, and tell the template system to leave a ...
https://man.mtool.work/django/6.1/ref/templates/api.html
Python プログラマーのための Django テンプレート言語 — Django 6.1 ドキュメント 9657
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Python プログラマーのための Django テンプレート言語 ¶ この文書は Django テンプレートシステムがどのように動作し、どのように拡張するか、技術的な観点か ... システムはこのようなことをしてはいけません: I will now delete this valuable data. {{ data.delete }} To prevent this, set an alters_data attribute on the callable variable. The template system won't call a variable if it has alters_data=True set, and wil ... ith string_if_invalid , unconditionally. The dynamically-generated delete() and save() methods on Django model objects get alters_data=True automatically. Example: def sensitive_function ( self ): self . database_record . delete () sensitive_function . ... alters_data = True Occasionally you may want to turn off this feature for other reasons, and tell the template system to leave a ...
https://man.mtool.work/django/6.1/ref/templates/api.html
SchemaEditor — Django 6.1 ドキュメント 8295
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » SchemaEditor ¶ class BaseDatabaseSchemaEditor [ソース] ¶ Django のマイグレーションシステムは2つの部分に分かれています。データベースに対してどのような ... 、実行を拒否します。代わりに、 remove_field() と add_field() は別々に呼び出されるべきです。 データベースが supports_combined_alters を持っている場合、Django はこれらの操作をできるだけ一つのデータベースコールで実行しようとします。そうでなければ、変更が必要 ...
https://man.mtool.work/django/6.1/ref/schema-editor.html
SchemaEditor — Django 6.1 ドキュメント 8295
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » SchemaEditor ¶ class BaseDatabaseSchemaEditor [ソース] ¶ Django のマイグレーションシステムは2つの部分に分かれています。データベースに対してどのような ... 、実行を拒否します。代わりに、 remove_field() と add_field() は別々に呼び出されるべきです。 データベースが supports_combined_alters を持っている場合、Django はこれらの操作をできるだけ一つのデータベースコールで実行しようとします。そうでなければ、変更が必要 ...
https://man.mtool.work/django/6.1/ref/schema-editor.html
Django 5.2 リリースノート — Django 6.1 ドキュメント 7941
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 5.2 リリースノート ¶ 2025年4月2日 Django 5.2 へようこそ! このリリースノートでは、 バージョン 5.2 の新機能 と、Django 5.1 以前からアップグレー ... テンプレートには含まれなくなりました。 下記のメソッドは テンプレートコンテキストをレンダリングする 際の副作用を防ぐために、 alters_data=True が設定されるようになりました。 UserManager.create_user() UserManager.acreate_user() UserManager.create_superuser ...
https://man.mtool.work/django/6.1/releases/5.2.html
Django 5.2 リリースノート — Django 6.1 ドキュメント 7941
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 5.2 リリースノート ¶ 2025年4月2日 Django 5.2 へようこそ! このリリースノートでは、 バージョン 5.2 の新機能 と、Django 5.1 以前からアップグレー ... テンプレートには含まれなくなりました。 下記のメソッドは テンプレートコンテキストをレンダリングする 際の副作用を防ぐために、 alters_data=True が設定されるようになりました。 UserManager.create_user() UserManager.acreate_user() UserManager.create_superuser ...
https://man.mtool.work/django/6.1/releases/5.2.html
セッションの使いかた — Django 6.1 ドキュメント 7605
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » セッションの使いかた ¶ Django は、匿名のセッションをフルサポートしています。このセッションフレームワークを使えば、任意のデータを、サイトの訪問者ごと ... session [ "foo" ] # Session is modified. request . session [ "foo" ] = {} # Gotcha: Session is NOT modified, because this alters # request.session['foo'] instead of request.session. request . session [ "foo" ][ "bar" ] = "baz" 上の例の場合、セッション ...
https://man.mtool.work/django/6.1/topics/http/sessions.html
セッションの使いかた — Django 6.1 ドキュメント 7605
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » セッションの使いかた ¶ Django は、匿名のセッションをフルサポートしています。このセッションフレームワークを使えば、任意のデータを、サイトの訪問者ごと ... session [ "foo" ] # Session is modified. request . session [ "foo" ] = {} # Gotcha: Session is NOT modified, because this alters # request.session['foo'] instead of request.session. request . session [ "foo" ][ "bar" ] = "baz" 上の例の場合、セッション ...
https://man.mtool.work/django/6.1/topics/http/sessions.html
PREV 1 2 NEXT