... minSite.get_urls() method. Unsupported operations on a sliced queryset now raise TypeError instead of AssertionError . The undocumented django.test.runner.reorder_suite() function is renamed to reorder_tests() . It now accepts an iterable of tests rather tha ... me name and value. Tests that fail to load, for example due to syntax errors, now always match when using test --tag . The undocumented django.contrib.admin.utils.lookup_needs_distinct() function is renamed to lookup_spawns_duplicates() . The undocumented Ht ... uri() method is removed. The HttpRequest.build_absolute_uri() method may be a suitable alternative. The object argument of undocumented ModelAdmin.log_addition() , log_change() , and log_deletion() methods is renamed to obj . RssFeed , Atom1Feed , and their ... ... discussion of this difference. In Django 4.0 and earlier, get_search_results() followed the second example query, but this undocumented behavior led to queries with excessive joins. Reverse foreign key changes for unsaved model instances In order to unify th ... dleware now uses request.META['CSRF_COOKIE'] for storing the unmasked CSRF secret rather than a masked version. This is an undocumented, private API. The ModelAdmin.actions and inlines attributes now default to an empty tuple rather than an empty list to dis ... ts and don't depend on jQuery. See インラインフォームイベント for more details on the change. The exc_info argument of the undocumented django.utils.log.log_response() function is replaced by exception . The size argument of the undocumented django.views.sta ... ... moved, as it was made obsolete by the new layout. The object-tools block is hoisted out of the content block in forms. The undocumented InclusionAdminNode.__init__() now takes the template tag name as the first positional argument. The undocumented ChangeLis ... h_password to mail sending functions (such as send_mail() ) while also providing a connection now raises a TypeError . The undocumented EmailMessage.get_connection() method is no longer used. Defining it in a subclass or trying to call it now causes an error ... ill be a cache miss. GenericForeignKey now uses a separate descriptor class: the private GenericForeignKeyDescriptor . The undocumented django.template.library.parse_bits() function no longer accepts the takes_context argument. The File class now always eval ... ... TIME_INPUT_FORMATS . The FileInput widget no longer renders with the required HTML attribute when initial data exists. The undocumented django.views.debug.ExceptionReporterFilter class is removed. As per the カスタムエラーレポート documentation, classes to b ... d() function now requires its argument to be a string or bytes. Other types should be explicitly cast to one of these. The undocumented version parameter to the AsKML function is removed. JSON and YAML serializers , used by dumpdata , now dump all data with ... in built-in Django translation files. The minimum supported version of mysqlclient is increased from 1.3.13 to 1.4.0. The undocumented django.contrib.postgres.forms.InvalidJSONInput and django.contrib.postgres.forms.JSONString are moved to django.forms.fiel ... ... y 1.26.0 PyYAML 6.0.2 psycopg 3.1.12 psycopg2 2.9.9 redis-py 5.1.0 selenium 4.23.0 sqlparse 0.5.0 tblib 3.0.0 E メール The undocumented mixed_subtype and alternative_subtype properties of EmailMessage and EmailMultiAlternatives are no longer supported. The u ... ssage and EmailMultiAlternatives have changed significantly, closely examine any custom subclasses that rely on overriding undocumented, internal underscore methods. DEFAULT_AUTO_FIELD setting now defaults to BigAutoField Since Django 3.2, when the DEFAULT_A ... ders containing prohibited characters. The django.core.mail.SafeMIMEText and SafeMIMEMultipart classes are deprecated. The undocumented django.core.mail.forbid_multi_line_headers() and django.core.mail.message.sanitize_address() functions are deprecated. Fea ... ... passed when performing IPv6 validation could lead to a potential denial-of-service attack. The undocumented and private functions clean_ipv6_address and is_valid_ipv6_address were vulnerable, as was the django.forms.GenericIPAddre ... ... passed when performing IPv6 validation could lead to a potential denial-of-service attack. The undocumented and private functions clean_ipv6_address and is_valid_ipv6_address were vulnerable, as was the django.forms.GenericIPAddre ... ... crashes when using combinations of annotate() , select_related() , and only() (#16436). Backwards incompatible changes The undocumented django.core.servers.basehttp.WSGIServerException has been removed. Use socket.error provided by the standard library inste ... ... gs passed when performing IPv6 validation could lead to a potential denial-of-service attack. The undocumented and private functions clean_ipv6_address and is_valid_ipv6_address were vulnerable, as was the django.forms.GenericIPAddre ... ... more details on these changes. The ModelAdmin.log_deletion() and LogEntryManager.log_action() methods will be removed. The undocumented django.utils.itercompat.is_iterable() function and the django.utils.itercompat module will be removed. The django.contrib. ... ions . The daily_cleanup.py script will be removed. The depth keyword argument will be removed from select_related() . The undocumented get_warnings_state() / restore_warnings_state() functions from django.test.utils and the save_warnings_state() / restore_w ... se methods are deprecated. Use the warnings.catch_warnings context manager available starting with Python 2.6 instead. The undocumented check_for_test_cookie method in AuthenticationForm will be removed following an accelerated deprecation. Users subclassing ... 2026年10月08日