... uild artifacts. Access to Django's project on PyPI to upload binaries, ideally with extra permissions to yank a release if necessary. Ensure your PyPI account only uses WebAuthn-based authentication factors, not TOTP (one-time codes). Create an API token ... s Remove empty sections from the release notes ( example commit ). Build the release notes locally and read them. Make any necessary change to improve flow or fix grammar ( example commit ). Create a new stable branch from main . Be sure to fetch and upda ... e the UNDER DEVELOPMENT header at the top of the release notes, remove the Expected prefix and update the release date, if necessary ( example commit ). For a patch release, remove the Expected prefix and update the release date for all releases, if neces ... ... ys than necessary ( #29193 ). Fixed crashes in django.contrib.admindocs when a view is a callable object, such as django.contrib.syndication ... ... o 1.11.8 where altering a field with a unique constraint may drop and rebuild more foreign keys than necessary ( #29193 ). Fixed crashes in django.contrib.admindocs when a view is a callable object, such as django.contrib.syndication ... ... ngo 1.2.2, we have made an exception to this rule. In order to test a bug fix that forms part of the 1.2.2 release, it was necessary to add a feature -- the enforce_csrf_checks flag -- to the test client . This flag forces the test client to perform full ... ... at least to describe precisely what the commit does. If you need to do additional work on your branch, commit as often as necessary: git commit -m 'Added two more tests for edge cases.' Publishing work You can publish your work on GitHub by running: git ... ewer to easily check what changes you have done. In this case, do the changes required by the reviewer. Commit as often as necessary. Before publishing the changes, rebase your work. If you added two commits, you would run: git rebase -i HEAD~2 Squash the ... ... init__ in any way. If your field just inherits from a built-in Django field and doesn't override __init__ , no changes are necessary. If you do need to override deconstruct() , a good place to start is the built-in Django fields ( django/db/models/fields/ ... et and its custom methods were lost after the first call to values() or values_list() . Writing a custom Manager was still necessary to return the custom QuerySet class and all methods that were desired on the Manager had to be proxied to the QuerySet . T ... w system could be extended. Error containers and backward compatibility Heavy changes to the various error containers were necessary in order to support the features above, specifically Form.errors , django.forms.utils.ErrorList , and the internal storage ... ... o admin, and in-particular the permissions related checks, it is the view of the Django security team that this change was necessary: that it is not currently feasible to maintain the existing behavior while escaping the potential privilege escalation in ... ... compiler, and integrate asynchronous database drivers. The new asynchronous queryset interface currently encapsulates the necessary sync_to_async() operations for you, and will allow your code to take advantage of developments in the ORM's asynchronous s ... ment, when DEBUG is True , and OPTIONS['loaders'] isn't specified. You may specify OPTIONS['loaders'] to override this, if necessary. テスト The DiscoverRunner now supports running tests in parallel on macOS, Windows, and any other systems where the defau ... above , the cached template loader is now enabled in development. You may specify OPTIONS['loaders'] to override this, if necessary. The undocumented django.contrib.auth.views.SuccessURLAllowedHostsMixin mixin is replaced by RedirectURLMixin . BaseConstr ... ... onstrates this technique, ensuring that you are looking at the documentation for your version of Django, as the exact code necessary is different for some older versions of Django. ... ... production database) to be dropped, causing catastrophic loss of data. In order to provide a fix for this problem, it was necessary to introduce a new setting -- TEST_DEPENDENCIES -- that allows you to define any creation order dependencies in your datab ... 2026年10月08日