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-08-03 12:54:31 -0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
da8ff9029c054d8015201b310c82ed5ec6a6f374
da8ff902
1 parent
546deed3
se elimino el comentario en config
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 @
da8ff90
...
...
@@ -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