Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
allgo
allgo
Commits
360017a9
Commit
360017a9
authored
Jan 14, 2019
by
LETORT Sebastien
Browse files
Merge branch '291-discrete-error-on-fresh-install-when-click-on-jobs' into 'django'
Resolve "(discrete) error on fresh install when click on "jobs"" Closes
#291
See merge request
!156
parents
91e622ad
2e38dda2
Pipeline
#58406
failed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
django/allgo/aio/__init__.py
View file @
360017a9
...
...
@@ -662,7 +662,7 @@ class AllgoAio:
"""
try
:
job_ids
=
{
int
(
x
)
for
x
in
request
.
url
.
query
.
getall
(
"id"
)}
job_ids
=
{
int
(
x
)
for
x
in
request
.
url
.
query
.
getall
(
"id"
,
()
)}
# limit the number of jobs in a single request
if
len
(
job_ids
)
>
20
:
raise
ValueError
()
...
...
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