Set the default content type
This commit is contained in:
parent
9c6be7357d
commit
a798b9858c
1 changed files with 1 additions and 0 deletions
|
|
@ -115,4 +115,5 @@ REST_FRAMEWORK = {
|
||||||
"rest_framework.permissions.IsAuthenticated",
|
"rest_framework.permissions.IsAuthenticated",
|
||||||
"newsreader.auth.permissions.IsOwner",
|
"newsreader.auth.permissions.IsOwner",
|
||||||
),
|
),
|
||||||
|
"DEFAULT_RENDERER_CLASSES": ("rest_framework.renderers.JSONRenderer",),
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue