Skip to content
GitLab
Menu
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
370893fa
Commit
370893fa
authored
Oct 22, 2019
by
Guilhem Saurel
Browse files
return a response…
parent
a809f855
Pipeline
#6423
passed with stage
in 1 minute and 27 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
rainboard/views.py
View file @
370893fa
...
...
@@ -114,7 +114,7 @@ def images_list(request):
"""
get the list of docker images
"""
return
'
\n
'
.
join
(
sorted
(
set
(
img
.
get_image_name
()
for
img
in
models
.
Image
.
objects
.
all
())))
return
HttpResponse
(
'
\n
'
.
join
(
sorted
(
set
(
img
.
get_image_name
()
for
img
in
models
.
Image
.
objects
.
all
())))
)
def
docker
(
request
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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