<commit_before>==========================
Django 3.1.5 release notes
==========================

*Expected January 4, 2021*

Django 3.1.5 fixes several bugs in 3.1.4.

Bugfixes
========

* Fixed ``__isnull=True`` lookup on key transforms for
  :class:`~django.db.models.JSONField` with Oracle and SQLite
  (:ticket:`32252`).

* 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 (:ticket:`32299`).

* Fixed a regression in Django 3.1 that caused the incorrect prefixing of
  ``STATIC_URL`` and ``MEDIA_URL`` settings, by the server-provided value of
  ``SCRIPT_NAME`` (or ``/`` if not set), when set to a URL specifying the
  protocol but without a top-level domain, e.g. ``http://myhost/``
  (:ticket:`32304`).
<commit_msg>Added release date for 3.1.5.<commit_after>==========================
Django 3.1.5 release notes
==========================

*January 4, 2021*

Django 3.1.5 fixes several bugs in 3.1.4.

Bugfixes
========

* Fixed ``__isnull=True`` lookup on key transforms for
  :class:`~django.db.models.JSONField` with Oracle and SQLite
  (:ticket:`32252`).

* 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 (:ticket:`32299`).

* Fixed a regression in Django 3.1 that caused the incorrect prefixing of
  ``STATIC_URL`` and ``MEDIA_URL`` settings, by the server-provided value of
  ``SCRIPT_NAME`` (or ``/`` if not set), when set to a URL specifying the
  protocol but without a top-level domain, e.g. ``http://myhost/``
  (:ticket:`32304`).

{'fraction_non_alphanumeric': 0.1806797853309481, 'fraction_numerical': 0.04114490161001789, 'mean_word_length': 4.501639344262295, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2936729', 'n_tokens_mistral': 586, 'n_tokens_neox': 501, 'n_words': 199}