... 52 ). Fixed a bug in Django 3.1 that caused a crash when processing middlewares in an async context with a middleware that raises a MiddlewareNotUsed exception ( #32299 ). Fixed a regression in Django 3.1 that caused the incorrect prefixing of STATIC_U ... リースノート January isnull lookup transforms JSONField Oracle SQLite crash processing middlewares async context middleware raises MiddlewareNotUsed exception regression incorrect prefixing settings クイック検索 Last update: 2026年10月09日 « previous | ... ... mize the redirects issued by the middleware. A debug message will be logged to the django.request logger when a middleware raises a MiddlewareNotUsed exception in DEBUG mode. マイグレーション ¶ The RunSQL operation can now handle parameters passed to t ... a variable that specifies the current Django version is now added to the pickled state of models and querysets, and Django raises a RuntimeWarning when these objects are unpickled in a different version than the one in which they were pickled. Added Mo ... . The HttpRequest.build_absolute_uri() method now handles paths starting with // correctly. If DEBUG is True and a request raises a SuspiciousOperation , the response will be rendered with a detailed error page. The query_string argument of QueryDict i ... ... t cases of the "N+1 queries problem" to two queries without any work to maintain a list of fields to prefetch. FETCH_RAISE raises a FieldFetchBlocked exception. This mode can prevent unintentional queries in performance-critical sections of code. Use t ... mpty tuple: () . This ensures primary keys are serialized when using dumpdata --natural-primary . The XML deserializer now raises SuspiciousOperation when it encounters unexpected nested tags. Tasks ¶ The task() decorator now accepts **kwargs , which a ... True , auth_user , or auth_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 ... ... mize the redirects issued by the middleware. A debug message will be logged to the django.request logger when a middleware raises a MiddlewareNotUsed exception in DEBUG mode. マイグレーション ¶ The RunSQL operation can now handle parameters passed to t ... a variable that specifies the current Django version is now added to the pickled state of models and querysets, and Django raises a RuntimeWarning when these objects are unpickled in a different version than the one in which they were pickled. Added Mo ... . The HttpRequest.build_absolute_uri() method now handles paths starting with // correctly. If DEBUG is True and a request raises a SuspiciousOperation , the response will be rendered with a detailed error page. The query_string argument of QueryDict i ... ... t cases of the "N+1 queries problem" to two queries without any work to maintain a list of fields to prefetch. FETCH_RAISE raises a FieldFetchBlocked exception. This mode can prevent unintentional queries in performance-critical sections of code. Use t ... mpty tuple: () . This ensures primary keys are serialized when using dumpdata --natural-primary . The XML deserializer now raises SuspiciousOperation when it encounters unexpected nested tags. Tasks ¶ The task() decorator now accepts **kwargs , which a ... True , auth_user , or auth_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 ... ... r input was observed from vulnerability scanning tools. Most databases silently discard null characters, but psycopg2 2.7+ raises an exception when trying to save a null character to a char/text field with PostgreSQL. 2.0 における後方互換性のない変更 ¶ ... ents of built-in form fields are no longer accepted as positional arguments. For example: forms . IntegerField ( 25 , 10 ) raises an exception and should be replaced with: forms . IntegerField ( max_value = 25 , min_value = 10 ) call_command() validate ... " , ... ) Indexes no longer accept positional arguments ¶ 例: models . Index ([ "headline" , "-pub_date" ], "index_name" ) raises an exception and should be replaced with: models . Index ( fields = [ "headline" , "-pub_date" ], name = "index_name" ) Fo ... ... r input was observed from vulnerability scanning tools. Most databases silently discard null characters, but psycopg2 2.7+ raises an exception when trying to save a null character to a char/text field with PostgreSQL. 2.0 における後方互換性のない変更 ¶ ... ents of built-in form fields are no longer accepted as positional arguments. For example: forms . IntegerField ( 25 , 10 ) raises an exception and should be replaced with: forms . IntegerField ( max_value = 25 , min_value = 10 ) call_command() validate ... " , ... ) Indexes no longer accept positional arguments ¶ 例: models . Index ([ "headline" , "-pub_date" ], "index_name" ) raises an exception and should be replaced with: models . Index ( fields = [ "headline" , "-pub_date" ], name = "index_name" ) Fo ... ... 52 ). Fixed a bug in Django 3.1 that caused a crash when processing middlewares in an async context with a middleware that raises a MiddlewareNotUsed exception ( #32299 ). Fixed a regression in Django 3.1 that caused the incorrect prefixing of STATIC_U ... ... た。 Older versions ignored fail_silently=True , auth_user , and auth_password when a connection was also provided. This now raises a TypeError . send_mass_mail() ¶ send_mass_mail ( datatuple , * , fail_silently = False , auth_user = None , auth_password ... た。 Older versions ignored fail_silently=True , auth_user , and auth_password when a connection was also provided. This now raises a TypeError . send_mass_mail() と send_mail() の比較 ¶ The main difference between send_mass_mail() and repeatedly calling ... 6.1: using 引数が追加されました。 Older versions ignored fail_silently=True when a connection was also provided. This now raises a TypeError . mail_managers() ¶ mail_managers ( subject , message , * , fail_silently = False , connection = None , html_m ... ... た。 Older versions ignored fail_silently=True , auth_user , and auth_password when a connection was also provided. This now raises a TypeError . send_mass_mail() ¶ send_mass_mail ( datatuple , * , fail_silently = False , auth_user = None , auth_password ... た。 Older versions ignored fail_silently=True , auth_user , and auth_password when a connection was also provided. This now raises a TypeError . send_mass_mail() と send_mail() の比較 ¶ The main difference between send_mass_mail() and repeatedly calling ... 6.1: using 引数が追加されました。 Older versions ignored fail_silently=True when a connection was also provided. This now raises a TypeError . mail_managers() ¶ mail_managers ( subject , message , * , fail_silently = False , connection = None , html_m ... 2026年10月08日