Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Marta Miranda
/
boletin_api
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Enzo Yair
2023-07-26 09:48:34 -0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f49ca13d863e107b37491c3155c20dde0e3c3919
f49ca13d
1 parent
ec7d60da
cambios_en_el_serializer_y_models
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
project/settings/base.py
project/settings/base.py
View file @
f49ca13
...
...
@@ -157,7 +157,7 @@ REST_FRAMEWORK = {
'rest_framework.authentication.BasicAuthentication'
,
'rest_framework.authentication.SessionAuthentication'
,
),
#
'DEFAULT_RENDERER_CLASSES': ('rest_framework_json_api.renderers.JSONRenderer',),
'DEFAULT_RENDERER_CLASSES'
:
(
'rest_framework_json_api.renderers.JSONRenderer'
,),
'DEFAULT_METADATA_CLASS'
:
'rest_framework_json_api.metadata.JSONAPIMetadata'
,
'NON_FIELD_ERRORS_KEY'
:
'error_messages'
}
...
...
Please
register
or
login
to post a comment