per page, with , order by , clip by
Results of 1 - 10 of about 69 for instances (0.004 sec.)
Fetch modes 13815
Fetch modes New in Django 6.1. When accessing model fields that were not loaded as part of the original query, Django will fetch that field's data from the database. You can customize the behavior of this fetching with a fetch mode , making ... it more efficient or even blocking it. Use QuerySet.fetch_mode() to set the fetch mode for model instances fetched by a QuerySet : from django.db import models books = Book . objects . fetch_mode ( models . FETCH_PEERS ) Fetch mo ... dels . CASCADE ) ... …and this loop: for book in books : print ( book . author . name ) …where books is a QuerySet of Book instances using some fetch mode. FETCH_ONE Fetches the missing field for the current instance only. This is the default mode. Using ... eads to performance issues when N is large. FETCH_PEERS Fetches the missing field for the current instance and its "peers"—instances that came from the same initial QuerySet . The behavior of this mode is based on the assumption that if you need a field f ...
https://man.mtool.work/django/6.1/topics/db/fetch-modes.html
Django 1.7 リリースノート 12655
Django 1.7 リリースノート September 2, 2014 Django 1.7 へようこそ! このリリースノートでは、 バージョン 1.7 の新機能 と、Django 1.6 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した ... thod allows adding errors to specific form fields from anywhere without having to worry about the details such as creating instances of django.forms.utils.ErrorList or dealing with Form.cleaned_data . This new API replaces manipulating Form._errors which ... soon as the errors were added to Form.errors . Form.errors and django.forms.utils.ErrorList now store the ValidationError instances so these metadata can be retrieved at any time through the new Form.errors.as_data method. The retrieved ValidationError i ... nd the internal storages of ValidationError . These containers which used to store error strings now store ValidationError instances and public APIs have been adapted to make this as transparent as possible, but if you've been using private APIs, some of ...
https://man.mtool.work/django/6.1/releases/1.7.html
Django 6.1.2 release notes 9191
Django 6.1.2 release notes October 6, 2026 Django 6.1.2 fixes one security issue with severity "low", three security issues with severity "moderate", and provides a fix for an insufficient security mitigation in 6.1. It also fixes one data ... ge abuse in model formsets with editable primary keys Model formsets incorrectly allowed forged POST data to either delete instances outside the limiting queryset or create instances via edit-only formsets when the model's primary key could be set through ... es when setting delete_confirmation_max_display to 0 ( #37386 ). Fixed a bug in Django 6.1 where FETCH_PEERS did not batch instances loaded by select_related() , causing unnecessary queries ( #37344 ). Fixed a bug in Django 6.1 where permissions were not ...
https://man.mtool.work/django/6.1/releases/6.1.2.html
Django 4.2.30 release notes 9021
Django 4.2.30 release notes April 7, 2026 Django 4.2.30 fixes one security issue with severity "moderate" and four security issues with severity "low" in 4.2.29. CVE-2026-3902: ASGI header spoofing via underscore/hyphen conflation ASGIReque ... to the Django security policy . CVE-2026-4277: Privilege abuse in GenericInlineModelAdmin Add permissions on inline model instances were not validated on submission of forged POST data in GenericInlineModelAdmin . This issue has severity "low" according ... -2026-4292: Privilege abuse in ModelAdmin.list_editable Admin changelist forms using list_editable incorrectly allowed new instances to be created via forged POST data. This issue has severity "low" according to the Django security policy . CVE-2026-33033 ...
https://man.mtool.work/django/6.1/releases/4.2.30.html
Django 5.2.13 release notes 9021
Django 5.2.13 release notes April 7, 2026 Django 5.2.13 fixes one security issue with severity "moderate" and four security issues with severity "low" in 5.2.12. CVE-2026-3902: ASGI header spoofing via underscore/hyphen conflation ASGIReque ... to the Django security policy . CVE-2026-4277: Privilege abuse in GenericInlineModelAdmin Add permissions on inline model instances were not validated on submission of forged POST data in GenericInlineModelAdmin . This issue has severity "low" according ... -2026-4292: Privilege abuse in ModelAdmin.list_editable Admin changelist forms using list_editable incorrectly allowed new instances to be created via forged POST data. This issue has severity "low" according to the Django security policy . CVE-2026-33033 ...
https://man.mtool.work/django/6.1/releases/5.2.13.html
Django 6.1 release notes 9021
Django 6.1 release notes August 5, 2026 Welcome to Django 6.1! These release notes cover the new features , as well as some backwards incompatible changes you'll want to be aware of when upgrading from Django 6.0 or earlier. We've begun the ... or the current instance only. This mode represents Django's existing behavior. FETCH_PEERS fetches a missing field for all instances that came from the same QuerySet . This mode works like an on-demand prefetch_related() . It can reduce most cases of the ... queries in performance-critical sections of code. Use the new method QuerySet.fetch_mode() to set the fetch mode for model instances fetched by the QuerySet : from django.db import models books = Book . objects . fetch_mode ( models . FETCH_PEERS ) for bo ... s. Tasks The task() decorator now accepts **kwargs , which are forwarded to the backend's task_class . Task and TaskResult instances can now be pickled and unpickled. テスト assertContains() and assertNotContains() can now be called multiple times on the ...
https://man.mtool.work/django/6.1/releases/6.1.html
Django 6.0.4 release notes 8696
Django 6.0.4 release notes April 7, 2026 Django 6.0.4 fixes one security issue with severity "moderate", four security issues with severity "low", and several bugs in 6.0.3. Also, the latest string translations from Transifex are incorporat ... to the Django security policy . CVE-2026-4277: Privilege abuse in GenericInlineModelAdmin Add permissions on inline model instances were not validated on submission of forged POST data in GenericInlineModelAdmin . This issue has severity "low" according ... -2026-4292: Privilege abuse in ModelAdmin.list_editable Admin changelist forms using list_editable incorrectly allowed new instances to be created via forged POST data. This issue has severity "low" according to the Django security policy . CVE-2026-33033 ...
https://man.mtool.work/django/6.1/releases/6.0.4.html
Django 3.1.1 リリースノート 8526
Django 3.1.1 リリースノート September 1, 2020 Django 3.1.1 fixes two security issues and several bugs in 3.1. CVE-2020-24583: Incorrect permissions on intermediate-level directories on Python 3.7+ On Python 3.7+, FILE_UPLOAD_DIRECTORY_PERMI ... ing of long model names in the admin's navigation sidebar ( #31854 ). Fixed encoding session data while upgrading multiple instances of the same project to Django 3.1 ( #31864 ). Adjusted admin's navigation sidebar template to reduce debug logging when re ... g model was not locked ( #31866 ). Fixed a data loss possibility, following a regression in Django 2.0, when copying model instances with a cached fields value ( #31863 ). Fixed a regression in Django 3.1 that caused a crash when decoding an invalid sessi ...
https://man.mtool.work/django/6.1/releases/3.1.1.html
Django 5.2.18 release notes 8371
Django 5.2.18 release notes October 6, 2026 Django 5.2.18 fixes one security issue with severity "low", three security issues with severity "moderate", and provides a fix for an insufficient security mitigation in 5.2.17. It also fixes one ... ge abuse in model formsets with editable primary keys Model formsets incorrectly allowed forged POST data to either delete instances outside the limiting queryset or create instances via edit-only formsets when the model's primary key could be set through ...
https://man.mtool.work/django/6.1/releases/5.2.18.html
Django 6.0.9 release notes 8371
Django 6.0.9 release notes October 6, 2026 Django 6.0.9 fixes one security issue with severity "low", three security issues with severity "moderate", and provides a fix for an insufficient security mitigation in 6.0.8. It also fixes one dat ... ge abuse in model formsets with editable primary keys Model formsets incorrectly allowed forged POST data to either delete instances outside the limiting queryset or create instances via edit-only formsets when the model's primary key could be set through ...
https://man.mtool.work/django/6.1/releases/6.0.9.html
PREV 1 2 3 4 5 6 7 NEXT