From 2059de79dbb9e697c617c4f07a3633547f30bf0c Mon Sep 17 00:00:00 2001 From: Daniel Stanton Date: Wed, 25 Jan 2017 18:03:23 +0000 Subject: [PATCH] Installed Knox for tests --- rest_auth/tests/requirements.pip | 1 + rest_auth/tests/settings.py | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/rest_auth/tests/requirements.pip b/rest_auth/tests/requirements.pip index de66892..eb10284 100644 --- a/rest_auth/tests/requirements.pip +++ b/rest_auth/tests/requirements.pip @@ -2,3 +2,4 @@ django-allauth>=0.19.1 responses>=0.3.0 flake8==2.4.0 djangorestframework-jwt>=1.7.2 +django-rest-knox>=2.3.0 diff --git a/rest_auth/tests/settings.py b/rest_auth/tests/settings.py index 060cc89..6eb5e86 100644 --- a/rest_auth/tests/settings.py +++ b/rest_auth/tests/settings.py @@ -88,7 +88,9 @@ INSTALLED_APPS = [ 'rest_auth', 'rest_auth.registration', - 'rest_framework_jwt' + 'rest_framework_jwt', + + 'knox' ] SECRET_KEY = "38dh*skf8sjfhs287dh&^hd8&3hdg*j2&sd"