diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -19,7 +19,7 @@ setup(
     ],
     extras_require={
         'test': [
-            'django>=2.0,<2.1a1',
+            'django>=2.1,<2.2',
             'ansicolors==1.1.8',
             'codecov==2.0.9',
             'flake8==3.0.4',
@@ -34,7 +34,7 @@ setup(
             'setuptools>=38.6.0,<39.0.0'
         ],
         'demo': [
-            'django>=2.0,<2.1a1',
+            'django>=2.1,<2.2',
             'django-environ==0.4.5',
             'gunicorn==19.5.0',
             'whitenoise==3.3.1',
diff --git a/tests/test_middleware.py b/tests/test_middleware.py
index <HASH>..<HASH> 100644
--- a/tests/test_middleware.py
+++ b/tests/test_middleware.py
@@ -280,7 +280,7 @@ def test_locale_persist_middleware_deletes_deprecated_cookie(
     instance.process_response(request, response)
 
     cookie = response.cookies[settings.LANGUAGE_COOKIE_DEPRECATED_NAME]
-    assert cookie['expires'] == 'Thu, 01-Jan-1970 00:00:00 GMT'
+    assert cookie['expires'] == 'Thu, 01 Jan 1970 00:00:00 GMT'
     assert cookie['max-age'] == 0
Upate cookie date format to reflect change in Django <I> to follow RFC <I>#section-<I>