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
0ab1c36b
Commit
0ab1c36b
authored
Oct 11, 2021
by
Guilhem Saurel
Browse files
extended target is not mandatory
parent
80f69107
Pipeline
#16512
failed with stage
in 1 minute and 9 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
rainboard/migrations/0065_alter_robotpkg_extended_target.py
0 → 100644
View file @
0ab1c36b
# Generated by Django 3.2.7 on 2021-10-11 09:23
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'rainboard'
,
'0064_main_focal'
),
]
operations
=
[
migrations
.
AlterField
(
model_name
=
'robotpkg'
,
name
=
'extended_target'
,
field
=
models
.
ManyToManyField
(
blank
=
True
,
null
=
True
,
to
=
'rainboard.Target'
),
),
]
rainboard/models.py
View file @
0ab1c36b
...
@@ -886,7 +886,7 @@ class Robotpkg(NamedModel):
...
@@ -886,7 +886,7 @@ class Robotpkg(NamedModel):
same_py
=
models
.
BooleanField
(
default
=
True
)
same_py
=
models
.
BooleanField
(
default
=
True
)
extended_target
=
models
.
ManyToManyField
(
Target
)
extended_target
=
models
.
ManyToManyField
(
Target
,
blank
=
True
,
null
=
True
)
def
main_page
(
self
):
def
main_page
(
self
):
if
self
.
category
!=
'wip'
:
if
self
.
category
!=
'wip'
:
...
...
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