PDF Download

Django 3.0

December 2, 2019 Python 3.6 – 3.9

All Django versions

Adds ASGI support, MariaDB support and enumeration types for field choices.

Download Django 3.0 PDF Official release notes

Release notes

  • Released: December 2, 2019
  • Python: 3.6 – 3.9
  • Support: Standard release

Read the full notes, including backwards-incompatible changes, at docs.djangoproject.com.

New features

  • ASGI support.
  • Official MariaDB support.
  • Exclusion constraints on PostgreSQL.
  • Boolean expressions usable directly in filter().
  • TextChoices and IntegerChoices enumerations for field choices.

Deprecated features

  • django.conf.urls.url(): use re_path().
  • The ugettext() family of translation functions: use gettext().
  • smart_text() and force_text(): use smart_str() and force_str().
  • django.utils.http.urlquote() and friends: use urllib.parse.
  • is_safe_url(): use url_has_allowed_host_and_scheme().