Adding swagger
This commit is contained in:
@@ -48,8 +48,7 @@ INSTALLED_APPS = [
|
||||
'debug_toolbar',
|
||||
'django_mailbox',
|
||||
'rest_framework',
|
||||
'provider',
|
||||
'provider.oauth2',
|
||||
'rest_framework_swagger',
|
||||
]
|
||||
|
||||
MIDDLEWARE_CLASSES = [
|
||||
@@ -244,6 +243,6 @@ REST_FRAMEWORK = {
|
||||
'DEFAULT_AUTHENTICATION_CLASSES': (
|
||||
'rest_framework.authentication.BasicAuthentication',
|
||||
'rest_framework.authentication.SessionAuthentication',
|
||||
'rest_framework.authentication.OAuth2Authentication',
|
||||
# 'rest_framework.authentication.OAuth2Authentication',
|
||||
),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user