PDF Download

Django 2.1

August 1, 2018 Python 3.5 – 3.7

All Django versions

Adds a "view" model permission and QuerySet.explain(). Drops Python 3.4.

Download Django 2.1 PDF Official release notes

Release notes

  • Released: August 1, 2018
  • Python: 3.5 – 3.7
  • Support: Standard release

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

New features

  • Model "view" permission, with read-only admin.
  • QuerySet.explain().
  • SameSite cookies for sessions and CSRF.
  • ModelAdmin.get_deleted_objects().

Deprecated features

  • Meta.ordering affecting GROUP BY queries.
  • django.utils.http.cookie_date().
  • The PostgreSQL FloatRangeField.