Private
Public Access
1
0

Adding swagger

This commit is contained in:
Sander Roosendaal
2016-11-19 11:20:51 +01:00
parent c6726245c2
commit eb055d5f32
3 changed files with 7 additions and 3 deletions

View File

@@ -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',
),
}