The newest release of Django as of the time of this issue opening is 4.04. The current version of Django supported in this repo is 1.9X. Key changes to make include: - Calls to `load staticfiles` should now call `load static` instead. - `django.utils.translation.ugettext_lazy` is now `django.utils.translation.gettext_lazy` - `MIDDLEWARE_CLASSES` has been renamed to `MIDDLEWARE`. - Session authentication middleware has been deprecated. - The `url()` function in `django.conf.urls` is now `re_path()`. - The Login operation in `django.contrib.auth` has been replaced with `LoginView`. - Requirements.txt should indicate this new version. A PR for these changes is forthcoming.
The newest release of Django as of the time of this issue opening is 4.04. The current version of Django supported in this repo is 1.9X.
Key changes to make include:
load staticfilesshould now callload staticinstead.django.utils.translation.ugettext_lazyis nowdjango.utils.translation.gettext_lazyMIDDLEWARE_CLASSEShas been renamed toMIDDLEWARE.url()function indjango.conf.urlsis nowre_path().django.contrib.authhas been replaced withLoginView.A PR for these changes is forthcoming.