Can I use Python 3.7 with Django 1.11?

Viewed 4725

We have an existing Django application which uses Django 1.11 and Python 3.6. For some security reasons I have been asked to use Python 3.7. I need to make the minimum changes possible. Do I need to upgrade Django as well? If so , is there any code changes required?

Thanks,

3 Answers

Python 3.7 compatibility was retrospectively added into the classifiers for Django v2.0 in this commit, even though v2.1 was already out. 1.11 was not included.

Discussion on Django tracker is here: https://code.djangoproject.com/ticket/28814

However, 1.11.x is LTS release series, so maybe if you're lucky that will still be added in a micro version upgrade at some later date.


Edit: Python 3.7 support was added in the micro version upgrade for Django 1.11.17 (2018-12-03, about 3 months after this question was originally asked)

Related