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-30 18:05:03 -0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ad67c74f8b7ed405775d7add5225a8f3d8dfff25
ad67c74f
1 parent
6bcbca06
descomentar actividad desde setting
Show 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 @
ad67c74
...
...
@@ -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