This version is compatible with all versions of Django that Patchwork
is recommended for.

Signed-off-by: Stephen Finucane <step...@that.guru>
---
 patchwork/settings/dev.py | 2 +-
 requirements-test.txt     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/patchwork/settings/dev.py b/patchwork/settings/dev.py
index 9aee731..a084d6a 100644
--- a/patchwork/settings/dev.py
+++ b/patchwork/settings/dev.py
@@ -89,5 +89,5 @@ if django.VERSION >= (1, 8):
 
 ENABLE_XMLRPC = True
 
-if django.VERSION >= (1, 7):
+if django.VERSION >= (1, 8):
     ENABLE_REST_API = True
diff --git a/requirements-test.txt b/requirements-test.txt
index 47c85b1..7cb5ae9 100644
--- a/requirements-test.txt
+++ b/requirements-test.txt
@@ -2,5 +2,5 @@ mysqlclient==1.3.7  # replace this with psycopg2 for a 
PostgreSQL backend
 django-debug-toolbar==1.5
 python-dateutil>2.0,<3.0
 selenium>2.0,<3.0
-djangorestframework>=3.3,<3.4
+djangorestframework>=3.4,<3.5
 drf-nested-routers>=0.11.1,<0.12
-- 
2.7.4

_______________________________________________
Patchwork mailing list
Patchwork@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/patchwork

Reply via email to