Conjunto de cambios 38840b5 en gestor_consulta para gestor_consulta/settings.py


Ignorar:
Fecha y hora:
19/09/2017 15:13:25 (hace 7 años)
Autor:
Antonio Araujo <aaraujo@…>
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.
Mensaje:

Corrección de conflictos en archivos settings.py y urls.py

Fichero:
1 editado

Leyenda

No modificado
Añadido
Eliminado
  • gestor_consulta/settings.py

    rd45fcdc r38840b5  
    158158EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
    159159
     160## Configuraciones del rest framework
    160161REST_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    ),
    163168    'DEFAULT_AUTHENTICATION_CLASSES': (
     169        'rest_framework.authentication.SessionAuthentication',
    164170        'rest_framework_jwt.authentication.JSONWebTokenAuthentication',
    165         'rest_framework.authentication.SessionAuthentication',
    166         'rest_framework.authentication.BasicAuthentication',
     171
    167172    ),
    168173}
Nota: Vea TracChangeset para ayuda en el uso del visor de conjuntos de cambios.