From a2d663a056f22554633c8059bce84d811e522528 Mon Sep 17 00:00:00 2001 From: sungwookson Date: Wed, 15 Apr 2020 08:12:43 +0900 Subject: [PATCH] Added Autoschema --- emstrack/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/emstrack/settings.py b/emstrack/settings.py index 78771290..11670e00 100644 --- a/emstrack/settings.py +++ b/emstrack/settings.py @@ -190,6 +190,7 @@ # REST Framework REST_FRAMEWORK = { + 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema', 'DEFAULT_AUTHENTICATION_CLASSES': ( 'rest_framework.authentication.SessionAuthentication', 'rest_framework.authentication.TokenAuthentication',