Enzo Yair

descomentar actividad desde setting

@@ -157,7 +157,7 @@ REST_FRAMEWORK = { @@ -157,7 +157,7 @@ REST_FRAMEWORK = {
157 'rest_framework.authentication.BasicAuthentication', 157 'rest_framework.authentication.BasicAuthentication',
158 'rest_framework.authentication.SessionAuthentication', 158 'rest_framework.authentication.SessionAuthentication',
159 ), 159 ),
160 - # 'DEFAULT_RENDERER_CLASSES': ('rest_framework_json_api.renderers.JSONRenderer',), 160 + 'DEFAULT_RENDERER_CLASSES': ('rest_framework_json_api.renderers.JSONRenderer',),
161 'DEFAULT_METADATA_CLASS': 'rest_framework_json_api.metadata.JSONAPIMetadata', 161 'DEFAULT_METADATA_CLASS': 'rest_framework_json_api.metadata.JSONAPIMetadata',
162 'NON_FIELD_ERRORS_KEY': 'error_messages' 162 'NON_FIELD_ERRORS_KEY': 'error_messages'
163 } 163 }