diff --git a/Watcher/Watcher/watcher/settings.py b/Watcher/Watcher/watcher/settings.py index bcaaa8c..62154d1 100755 --- a/Watcher/Watcher/watcher/settings.py +++ b/Watcher/Watcher/watcher/settings.py @@ -155,6 +155,8 @@ 'TOKEN_TTL': timedelta(hours=10), } +KNOX_TOKEN_MODEL = 'knox.AuthToken' + MIDDLEWARE = [ 'django.middleware.security.SecurityMiddleware', 'whitenoise.middleware.WhiteNoiseMiddleware',