Quitando dependencia con rest_framework

This commit is contained in:
Daniel Cortes
2020-06-27 12:54:15 -04:00
parent 31bc2df354
commit 6efb103a1a
2 changed files with 42 additions and 53 deletions

View File

@@ -27,7 +27,6 @@ INSTALLED_APPS = [
'oauth2_provider',
'corsheaders',
'rest_framework',
'django_rq',
'fetcher.apps.FetcherConfig',
@@ -127,16 +126,6 @@ AUTH_PASSWORD_VALIDATORS = [
},
]
"""Rest framework configuration"""
REST_FRAMEWORK = {
'DEFAULT_AUTHENTICATION_CLASSES': (
'oauth2_provider.contrib.rest_framework.OAuth2Authentication',
),
'DEFAULT_PERMISSION_CLASSES': (
'rest_framework.permissions.AllowAny',
)
}
"""Location settings"""
LANGUAGE_CODE = 'es-es'
TIME_ZONE = 'America/Santiago'