---
title: "Django 3.1.5 release notes"
version: 3.1
locale: id
source: https://docs.djangoproject.com/id/3.1/releases/3.1.5/
canonical: https://djangodocs.dev/id/3.1/releases/3.1.5/
---
# Django 3.1.5 release notes

*January 4, 2021*

Django 3.1.5 fixes several bugs in 3.1.4.

## Perbaikan kesalahan

- Fixed `__isnull=True` lookup on key transforms for
  [`JSONField`](/id/3.1/ref/models/fields/#django.db.models.JSONField) with Oracle and SQLite
  ([#32252](https://code.djangoproject.com/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 ([#32299](https://code.djangoproject.com/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/`
  ([#32304](https://code.djangoproject.com/ticket/32304)).
