From 2a3be91e631dce17fdd3de2bbde19c9e0fdc443a Mon Sep 17 00:00:00 2001 From: Francesco Filicetti Date: Thu, 28 Nov 2024 15:47:28 +0100 Subject: [PATCH] fix: rest_framework.authtoken in settings --- uniticket/tests/settingslocal.py | 1 + uniticket/uni_ticket_project/settingslocal.py.example | 1 + 2 files changed, 2 insertions(+) diff --git a/uniticket/tests/settingslocal.py b/uniticket/tests/settingslocal.py index 8cbf635..b259a96 100644 --- a/uniticket/tests/settingslocal.py +++ b/uniticket/tests/settingslocal.py @@ -40,6 +40,7 @@ # Django Rest 'rest_framework', + 'rest_framework.authtoken', 'api_rest', # Django channels and chat diff --git a/uniticket/uni_ticket_project/settingslocal.py.example b/uniticket/uni_ticket_project/settingslocal.py.example index 60f9b6d..9519859 100644 --- a/uniticket/uni_ticket_project/settingslocal.py.example +++ b/uniticket/uni_ticket_project/settingslocal.py.example @@ -94,6 +94,7 @@ INSTALLED_APPS = [ # Django Rest 'rest_framework', + 'rest_framework.authtoken', 'api_rest', # Django channels and chat