04f26a1
@@ -323,6 +323,9 @@
#
REST_FRAMEWORK = {
'PAGE_SIZE': 10,
+ 'DEFAULT_RENDERER_CLASSES': [
+ 'rest_framework.renderers.JSONRenderer',
+ ],
'DEFAULT_FILTER_BACKENDS': (
'rest_framework.filters.OrderingFilter',
),
The API didn't work and failed with 500, because the REST framework didn't know how to render the response. This fixes the issue.
https://pagure.io/fedora-infrastructure/issue/12134
Signed-off-by: Michal Konecny mkonecny@redhat.com
Build succeeded. https://fedora.softwarefactory-project.io/zuul/buildset/b75b22a1d4ac4aa3ab47f118c4d69e91
Pull-Request has been merged by zlopez
The API didn't work and failed with 500, because the REST framework didn't know
how to render the response. This fixes the issue.
https://pagure.io/fedora-infrastructure/issue/12134
Signed-off-by: Michal Konecny mkonecny@redhat.com