Quitando dependencia con rest_framework
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user