per page, with , order by , clip by
Results of 1 - 10 of about 41 for Clear (0.003 sec.)
リレーション先オブジェクトのリファレンス 16506
リレーション先オブジェクトのリファレンス class RelatedManager "関係マネージャ(related manager)"とは、1対多または多対多の関係するコンテキストで使用されるマネージャのことです。これは2つのケースで起こります: ForeignKey リレーションの "反対側 ... ave シグナルと post_save シグナルをトリガーします。 多対多のリレーションシップの場合、キーワード引数 bulk は存在しません。 clear ( bulk = True ) aclear ( bulk = True ) 非同期バージョン : aclear() リレーション先オブジェクトのセットからすべてのオブジェク ... トを削除します: >>> b = Blog . objects . get ( id = 1 ) >>> b . entry_set . clear () これはリレーション先のオブジェクトを削除するのではなく、単に関連付けを解除するだけであることに注意してください。 remove ... () と同様に、 clear() は ForeignKey で null=True の場合にのみ使用可能で、 bulk キーワード引数も受け付けます。 多対多のリレーションシップの場合 ...
https://man.mtool.work/django/6.1/ref/models/relations.html
contenttypes フレームワーク 9247
contenttypes フレームワーク Django には contenttypes アプリケーションが含まれており、 Django を使ったプロジェクトにインストールされているすべてのモデルを追跡し、モデルを扱うための高レベルで汎用的なインターフェースを提供します。 概要 content ... tentTypeManager [ソース] ContentType にはカスタムマネージャー ContentTypeManager もあり、以下のメソッドが追加されています: clear_cache () [ソース] ContentType が使用する内部キャッシュをクリアし、 ContentType インスタンスを作成したモデルの追跡を行います ... ことがあります。たとえば次のようにします。 class ContentTypesTests ( TestCase ): def setUp ( self ): ContentType . objects . clear_cache () self . addCleanup ( ContentType . objects . clear_cache ) get_for_id ( id ) [ソース] ContentType を ID でルックア ... >> b . tags . all () <QuerySet [<TaggedItem: django>]> >>> TaggedItem . objects . all () <QuerySet [<TaggedItem: django>]> clear() メソッドは、インスタンスのリレーション先のすべてのオブジェクトを一括削除するために使用できます。 >>> b . tags . clear () ...
https://man.mtool.work/django/6.1/ref/contrib/contenttypes.html
Django 1.10.6 リリースノート 9247
Django 1.10.6 リリースノート March 1, 2017 Django 1.10.6 fixes several bugs in 1.10.5. バグ修正 Fixed ClearableFileInput 's "Clear" checkbox on model form fields where the model field has a default ( #27805 ). Fixed RequestDataTooBig and To ...
https://man.mtool.work/django/6.1/releases/1.10.6.html
Django 1.11.4 リリースノート 8657
Django 1.11.4 リリースノート August 1, 2017 Django 1.11.4 fixes several bugs in 1.11.3. バグ修正 Fixed a regression in 1.11.3 on Python 2 where non-ASCII format values for date/time widgets results in an empty value in the widget's HTML ( # ... delMultipleChoiceField . Fixed QuerySet.count() for union() , difference() , and intersection() queries. ( #28399 ). Fixed ClearableFileInput rendering as a subwidget of MultiWidget ( #28414 ). Custom clearable_file_input.html widget templates will ne ... ed to adapt for the fact that context values checkbox_name , checkbox_id , is_initial , input_text , initial_text , and clear_checkbox_label are now attributes of widget rather than appearing in the top-level context. Fixed queryset crash when usin ...
https://man.mtool.work/django/6.1/releases/1.11.4.html
Django 1.6.2 リリースノート 8657
Django 1.6.2 リリースノート February 6, 2014 This is Django 1.6.2, a bugfix release for Django 1.6. Django 1.6.2 fixes several bugs in 1.6.1: Prevented the base geometry object of a prepared geometry to be garbage collected, which could lea ... l raise an error rather than default to using the current working directory if STATIC_ROOT is not set. Combined with the --clear option, the previous behavior could wipe anything below the current working directory ( #21581 ). Fixed mail encoding on P ...
https://man.mtool.work/django/6.1/releases/1.6.2.html
シグナル 8455
シグナル Djangoが送信する全てのシグナルのリストです。全ての組み込みシグナルは send() メソッドを使用して送信されます。 参考 シグナルの登録方法と受信方法に関する情報については、 シグナルディスパッチャ のドキュメントを参照してください。 認証フ ... トが削除される 前 に送信されます。 "post_remove" リレーションから1つ以上のオブジェクトが削除された 後に 送信されます。 "pre_clear" リレーションがクリアされる 前に 送信されます。 "post_clear" リレーションがクリアされた 後 に送信されます。 reverse リレー ... かに依存しません。特に、存在しない値が提出されることもあり、 pk_set に表示されますが、データベースには影響を与えません。 pre_clear と post_clear アクションの場合、これは None です。 using 使用されているデータベースのエイリアス。 raw New in Django 6.1. 真 ...
https://man.mtool.work/django/6.1/ref/signals.html
Django 1.8.5 リリースノート 8455
Django 1.8.5 リリースノート October 3, 2015 Django 1.8.5 fixes several bugs in 1.8.4. バグ修正 Made the development server's autoreload more robust ( #24704 ). Fixed AssertionError in some delete queries with a model containing a field that ... n some complex queries ( #24525 ). Fixed a migrations crash with GenericForeignKey ( #25040 ). Made translation.override() clear the overridden language when a translation isn't initially active ( #25295 ). Fixed crash when using a value in ModelAdmin ...
https://man.mtool.work/django/6.1/releases/1.8.5.html
Django 1.9.5 リリースノート 8455
Django 1.9.5 リリースノート April 1, 2016 Django 1.9.5 では、1.9.4 にあったいくつかのバグを修正しました。 バグ修正 Made MultiPartParser ignore filenames that normalize to an empty string to fix crash in MemoryFileUploadHandler on specially ... ns of Django. Fixed a memory leak in the cached template loader ( #26306 ). Fixed a regression that caused collectstatic --clear to fail if the storage doesn't implement path() ( #26297 ). Fixed a crash when using a reverse lookup with a subquery when ...
https://man.mtool.work/django/6.1/releases/1.9.5.html
Django 1.7 リリースノート 8268
Django 1.7 リリースノート September 2, 2014 Django 1.7 へようこそ! このリリースノートでは、 バージョン 1.7 の新機能 と、Django 1.6 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した ... setting its related_name to '+' or ending it with '+' . F expressions support the power operator ( ** ). The remove() and clear() methods of the related managers created by ForeignKey and GenericForeignKey now accept the bulk keyword argument to cont ... した日付フォーマットや、 django.contrib.syndication を使っている場合、この問題の影響を受ける可能性があります。 remove() and clear() methods of related managers The remove() and clear() methods of the related managers created by ForeignKey , GenericFore ... nals aren't sent anymore. You can use the bulk=False keyword argument to revert to the previous behavior. The remove() and clear() methods for GenericForeignKey related managers now perform bulk delete. The Model.delete() method isn't called on each i ...
https://man.mtool.work/django/6.1/releases/1.7.html
Django 5.0.4 リリースノート 8268
Django 5.0.4 リリースノート 2024年4月3日 Django 5.0.4 では、5.0.3 におけるいくつかのバグを修正しました。 バグ修正 Django 5.0 で db_default の式を持つフィールドで Model.full_clean() がクラッシュするバグを修正しました。その結果、 Model.full_c ... db_default を持つフィールドの空の値を検証しなくなりました ( #35223 )。 Django 5.0 のリグレッションで、 AdminFileWidget が "Clear" チェックボックスの id 属性を2つ使ってレンダリングされてしまう問題を修正しました ( #35273 )。 Django 5.0 で、部分的な Uniq ...
https://man.mtool.work/django/6.1/releases/5.0.4.html
PREV 1 2 3 4 5 NEXT