Changes api to json

This commit is contained in:
z0ccc 2021-08-26 15:58:40 -04:00
parent fd34d998c6
commit 4cafd39ead

View file

@ -102,12 +102,12 @@ AUTH_PASSWORD_VALIDATORS = [
}, },
] ]
# REST_FRAMEWORK = { REST_FRAMEWORK = {
# 'DEFAULT_AUTHENTICATION_CLASSES': [ # Only enable JSON renderer by default.
# 'rest_framework.authentication.BasicAuthentication', 'DEFAULT_RENDERER_CLASSES': [
# 'rest_framework.authentication.SessionAuthentication', 'rest_framework.renderers.JSONRenderer',
# ] ],
# } }
# Internationalization # Internationalization
# https://docs.djangoproject.com/en/3.2/topics/i18n/ # https://docs.djangoproject.com/en/3.2/topics/i18n/