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
69a3053f
Commit
69a3053f
authored
Jul 13, 2018
by
Guilhem Saurel
Browse files
valid_images: order_by target__name
parent
06625e50
Pipeline
#958
passed with stages
in 47 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
rainboard/models.py
View file @
69a3053f
...
@@ -635,7 +635,7 @@ class Robotpkg(NamedModel):
...
@@ -635,7 +635,7 @@ class Robotpkg(NamedModel):
self
.
save
()
self
.
save
()
def
valid_images
(
self
):
def
valid_images
(
self
):
return
self
.
image_set
.
filter
(
created__isnull
=
False
,
target__active
=
True
).
name_ordered
(
)
return
self
.
image_set
.
filter
(
created__isnull
=
False
,
target__active
=
True
).
order_by
(
'target__name'
)
# class RobotpkgBuild(TimeStampedModel):
# class RobotpkgBuild(TimeStampedModel):
...
...
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