Conjunto de cambios 38840b5 en gestor_consulta para gestor_consulta/settings.py
- Fecha y hora:
- 19/09/2017 15:13:25 (hace 7 años)
- Branches:
- master
- Children:
- 4400fb8
- Parents:
- d45fcdc (diferencia), 9b33f35 (diferencia)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - Fichero:
-
- 1 editado
Leyenda
- No modificado
- Añadido
- Eliminado
-
gestor_consulta/settings.py
rd45fcdc r38840b5 158 158 EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend' 159 159 160 ## Configuraciones del rest framework 160 161 REST_FRAMEWORK = { 161 'DEFAULT_FILTER_BACKENDS': ('django_filters.rest_framework.DjangoFilterBackend',), 162 # taken from http://getblimp.github.io/django-rest-framework-jwt/ to test JWT 162 'DEFAULT_FILTER_BACKENDS': ( 163 'django_filters.rest_framework.DjangoFilterBackend', 164 ), 165 'DEFAULT_PERMISSION_CLASSES': ( 166 'rest_framework.permissions.IsAuthenticated', 167 ), 163 168 'DEFAULT_AUTHENTICATION_CLASSES': ( 169 'rest_framework.authentication.SessionAuthentication', 164 170 'rest_framework_jwt.authentication.JSONWebTokenAuthentication', 165 'rest_framework.authentication.SessionAuthentication', 166 'rest_framework.authentication.BasicAuthentication', 171 167 172 ), 168 173 }
Nota: Vea TracChangeset
para ayuda en el uso del visor de conjuntos de cambios.