From 2f7cd7f8ecb01d30c1dfdaefa1c1714db76d2553 Mon Sep 17 00:00:00 2001
From: Asif Saifuddin Auvi <auvipy@gmail.com>
Date: Thu, 28 Jun 2018 21:02:29 +0600
Subject: [PATCH] Refs #28814 -- Documented Python 3.7 compatibility.

---
 docs/faq/install.txt  | 2 +-
 docs/releases/2.0.txt | 4 ++--
 setup.py              | 1 +
 tox.ini               | 2 +-
 4 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/docs/faq/install.txt b/docs/faq/install.txt
index cb1474f7d2..6043f5c8ba 100644
--- a/docs/faq/install.txt
+++ b/docs/faq/install.txt
@@ -47,7 +47,7 @@ What Python version can I use with Django?
 Django version Python versions
 ============== ===============
 1.11           2.7, 3.4, 3.5, 3.6
-2.0            3.4, 3.5, 3.6
+2.0            3.4, 3.5, 3.6, 3.7
 2.1, 2.2       3.5, 3.6, 3.7
 ============== ===============
 
diff --git a/docs/releases/2.0.txt b/docs/releases/2.0.txt
index 7ca42908d3..2863997553 100644
--- a/docs/releases/2.0.txt
+++ b/docs/releases/2.0.txt
@@ -24,8 +24,8 @@ project.
 Python compatibility
 ====================
 
-Django 2.0 supports Python 3.4, 3.5, and 3.6. We **highly recommend** and only
-officially support the latest release of each series.
+Django 2.0 supports Python 3.4, 3.5, 3.6, and 3.7. We **highly recommend** and
+only officially support the latest release of each series.
 
 The Django 1.11.x series is the last to support Python 2.7.
 
diff --git a/setup.py b/setup.py
index a6838e1534..6e4cf1f715 100644
--- a/setup.py
+++ b/setup.py
@@ -100,6 +100,7 @@ setup(
         'Programming Language :: Python :: 3',
         'Programming Language :: Python :: 3.5',
         'Programming Language :: Python :: 3.6',
+        'Programming Language :: Python :: 3.7',
         'Programming Language :: Python :: 3 :: Only',
         'Topic :: Internet :: WWW/HTTP',
         'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
diff --git a/tox.ini b/tox.ini
index b10975aa24..2f03d810c8 100644
--- a/tox.ini
+++ b/tox.ini
@@ -21,7 +21,7 @@ passenv = DJANGO_SETTINGS_MODULE PYTHONPATH HOME DISPLAY
 setenv =
     PYTHONDONTWRITEBYTECODE=1
 deps =
-    py{3,35,36}: -rtests/requirements/py3.txt
+    py{3,35,36,37}: -rtests/requirements/py3.txt
     postgres: -rtests/requirements/postgres.txt
     mysql: -rtests/requirements/mysql.txt
     oracle: -rtests/requirements/oracle.txt