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
5635fd75
Commit
5635fd75
authored
Jun 19, 2018
by
Guilhem Saurel
Browse files
allow blank/null Robotpkg.homepage
parent
deb51142
Pipeline
#841
passed with stages
in 45 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
rainboard/migrations/0016_blank_robotpkg_homepage.py
0 → 100644
View file @
5635fd75
# Generated by Django 2.0.5 on 2018-06-19 09:01
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'rainboard'
,
'0015_debug'
),
]
operations
=
[
migrations
.
AlterField
(
model_name
=
'robotpkg'
,
name
=
'homepage'
,
field
=
models
.
URLField
(
blank
=
True
,
null
=
True
),
),
]
rainboard/models.py
View file @
5635fd75
...
...
@@ -534,7 +534,7 @@ class Robotpkg(NamedModel):
master_repository
=
models
.
CharField
(
max_length
=
200
,
default
=
''
)
maintainer
=
models
.
CharField
(
max_length
=
200
,
default
=
''
)
comment
=
models
.
TextField
()
homepage
=
models
.
URLField
(
max_length
=
200
,
default
=
''
)
homepage
=
models
.
URLField
(
max_length
=
200
,
blank
=
True
,
null
=
True
)
license
=
models
.
ForeignKey
(
License
,
on_delete
=
models
.
SET_NULL
,
blank
=
True
,
null
=
True
)
public
=
models
.
BooleanField
(
default
=
True
)
...
...
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