Enzo Yair

Merge branch 'feature/api_keys' into 'develop'

Implementacion de api_keys

Feature:
-Implementación de api_keys

See merge request !6
... ... @@ -55,8 +55,7 @@ THIRD_PARTY_APPS = (
'rest_framework',
'django_filters',
'corsheaders',
'oauth2_provider',
'mozilla_django_oidc',
"rest_framework_api_key",
)
... ... @@ -158,8 +157,10 @@ REST_FRAMEWORK = {
'rest_framework.parsers.FormParser',
'rest_framework.parsers.MultiPartParser'
),
"DEFAULT_PERMISSION_CLASSES": [
"rest_framework_api_key.permissions.HasAPIKey",
],
'DEFAULT_AUTHENTICATION_CLASSES': (
'oauth2_provider.contrib.rest_framework.OAuth2Authentication',
'rest_framework.authentication.BasicAuthentication',
'rest_framework.authentication.SessionAuthentication',
),
... ...
... ... @@ -6,8 +6,7 @@ django-filter==23.3
djangorestframework==3.14.0
django-environ==0.11.2
djangorestframework-jsonapi==6.1.0
django-oauth-toolkit==2.3.0
mozilla-django-oidc==3.0.0
djangorestframework-api-key==2.3.0
# visualizar imagenes.
pillow==10.4.0
... ...