Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Gepetto
dashboard
Commits
8e01f94e
Commit
8e01f94e
authored
Sep 06, 2019
by
Guilhem Saurel
Browse files
JsonResponse wants a dict
parent
81743bbc
Pipeline
#5526
passed with stage
in 42 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
rainboard/views.py
View file @
8e01f94e
...
...
@@ -135,7 +135,7 @@ def graph_svg(request):
def
ordered_projects
(
request
):
return
JsonResponse
(
models
.
ordered_projects
)
return
JsonResponse
(
{
'ret'
:
models
.
ordered_projects
}
)
class
AuthenticatedOrReadOnlyModelViewSet
(
viewsets
.
ModelViewSet
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment