The first Python 3-only release. Adds simplified URL routing with path(), a mobile-friendly admin and window expressions.
Download Django 2.0 PDF Official release notes
Release notes
- Released: December 2, 2017
- Python: 3.4 – 3.7
- Support: Standard release
Read the full notes, including backwards-incompatible changes, at docs.djangoproject.com.
New features
- Simplified URL routing with path() and path converters.
- Mobile-friendly admin.
- Window expressions (OVER clauses).
- on_delete becomes required on ForeignKey and OneToOneField.
- QuerySet.iterator(chunk_size=...).
Deprecated features
- render_to_response(): use render().
- The context argument of Field.from_db_value().
- The field_name keyword of QuerySet.earliest() and latest().