Django 2.1.x
This series of Django releases was supported from 2018-08-01 to 2019-12-02.
Highlights
As of this release, Django only supports Python 3.5, 3.6, and 3.7.
The other major new feature of this release is the addition of the view permission, which adds a way for you to give users a readonly view of data in the Django admin.
Upgrade Gotchas
One of the first things you may run into when upgrading to version 2.1 is missing features: some of the features that were deprecated in v1.11 are now completely gone.
A few specific removed features:
- The venerable
@permalinkis gone. - The older function-based
django.contrib.authviews have been retired in favor of the new class-based versions. {% load staticfiles %}and{% load admin_static %}have been replaced with{% load static %}, which works the same way.django.forms.Widget.rendermethods that don’t accept therendererargument are no longer supported
Also note: deprecation warnings are no longer “loud” by default.
- Python 3.5
- Python 3.6
- Python 3.7