Private
Public Access
1
0

some py3 related changes - passes checks on py2

This commit is contained in:
Sander Roosendaal
2019-02-24 16:04:35 +01:00
parent 866566172c
commit 3b7d75c994
3 changed files with 20 additions and 20 deletions

View File

@@ -378,8 +378,8 @@ REST_FRAMEWORK = {
'DEFAULT_AUTHENTICATION_CLASSES': (
'rest_framework.authentication.BasicAuthentication',
'rest_framework.authentication.SessionAuthentication',
# 'oauth2_provider.ext.rest_framework.OAuth2Authentication',
'oauth2_provider.contrib.rest_framework.OAuth2Authentication',
'oauth2_provider.ext.rest_framework.OAuth2Authentication',
# 'oauth2_provider.contrib.rest_framework.OAuth2Authentication',
),
'PAGE_SIZE': 20,
'DEFAULT_PAGINATION_CLASS':'rest_framework.pagination.LimitOffsetPagination',