... QuerySet.union() and difference() when combining with a queryset raising EmptyResultSet ( #28378 ). Fixed a regression in pickling of LazyObject on Python 2 when the wrapped object doesn't have __reduce__() ( #28389 ). Fixed crash in runserver 's autore ... ... d a bug that prevented a QuerySet that uses prefetch_related() from being pickled and unpickled more than once (the second pickling attempt raised an exception) (#21102). ... ... ltiple many-to-many fields on a model with the same 'to' model and with related_name set to '+' ( #24505 , #25486 ). Fixed pickling a SimpleLazyObject wrapping a model ( #25389 ). ... ... xception ( #28178 ). Fixed django.utils.http.is_safe_url() crash on invalid IPv6 URLs ( #28142 ). Fixed regression causing pickling of model fields to crash ( #28188 ). Fixed django.contrib.auth.authenticate() when multiple authentication backends don't ... ... 2 ). Fixed lack of unique constraint when changing a field from primary_key=True to unique=True ( #24893 ). Fixed queryset pickling when using prefetch_related() after deleting objects ( #24831 ). Allowed using choices longer than 1 day with DurationFiel ... ... ze the collectstatic --ignore option with a custom AppConfig . キャッシュ ファイルベースのキャッシュバックエンドが highest pickling プロトコルを使用するようになりました。 CSRF デフォルトの CSRF_FAILURE_VIEW と views.csrf.csrf_failure() がオプション引数 t ... う作成されなくなり、テストのコンテキストでは役に立たないものになりました。 Apps registry is no longer auto-populated when unpickling models outside of Django The apps registry is no longer auto-populated when unpickling models. This was added in Django 1. ... 7.2 as an attempt to allow unpickling models outside of Django, such as in an RQ worker, without calling django.setup() , but it creates the possibility of a de ... ... ses in debug mode. There is now a model Meta option to define a default related name for all relational fields of a model. Pickling models and querysets across different versions of Django isn't officially supported (it may work, but there's no guarantee ... ... ts, and so forth. (Most common Python objects can be pickled; refer to the Python documentation for more information about pickling.) キャッシュへのアクセス django.core.cache. caches CACHES 設定で設定したキャッシュには、 django.core.cache.caches という D ... 2026年10月08日