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
979e55ac
Commit
979e55ac
authored
Apr 27, 2018
by
Guilhem Saurel
Browse files
description: null=True
parent
de7483cc
Pipeline
#616
passed with stages
in 44 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
rainboard/migrations/0011_null_true.py
0 → 100644
View file @
979e55ac
# Generated by Django 2.0.4 on 2018-04-27 07:24
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'rainboard'
,
'0010_blank_true'
),
]
operations
=
[
migrations
.
AlterField
(
model_name
=
'project'
,
name
=
'description'
,
field
=
models
.
TextField
(
blank
=
True
,
null
=
True
),
),
migrations
.
AlterField
(
model_name
=
'repo'
,
name
=
'description'
,
field
=
models
.
TextField
(
blank
=
True
,
null
=
True
),
),
migrations
.
AlterField
(
model_name
=
'robotpkg'
,
name
=
'description'
,
field
=
models
.
TextField
(
blank
=
True
,
null
=
True
),
),
]
rainboard/models.py
View file @
979e55ac
...
...
@@ -149,7 +149,7 @@ class Project(Links, NamedModel, TimeStampedModel):
main_forge
=
models
.
ForeignKey
(
Forge
,
on_delete
=
models
.
SET_NULL
,
null
=
True
,
blank
=
True
)
license
=
models
.
ForeignKey
(
License
,
on_delete
=
models
.
SET_NULL
,
blank
=
True
,
null
=
True
)
homepage
=
models
.
URLField
(
max_length
=
200
,
blank
=
True
,
null
=
True
)
description
=
models
.
TextField
(
blank
=
True
)
description
=
models
.
TextField
(
blank
=
True
,
null
=
True
)
version
=
models
.
CharField
(
max_length
=
20
,
blank
=
True
,
null
=
True
)
updated
=
models
.
DateTimeField
(
blank
=
True
,
null
=
True
)
tests
=
models
.
BooleanField
(
default
=
True
)
...
...
@@ -290,7 +290,7 @@ class Repo(TimeStampedModel):
forked_from
=
models
.
PositiveIntegerField
(
blank
=
True
,
null
=
True
)
clone_url
=
models
.
URLField
(
max_length
=
200
)
travis_id
=
models
.
PositiveIntegerField
(
blank
=
True
,
null
=
True
)
description
=
models
.
TextField
(
blank
=
True
)
description
=
models
.
TextField
(
blank
=
True
,
null
=
True
)
def
__str__
(
self
):
return
self
.
name
...
...
@@ -524,7 +524,7 @@ class Robotpkg(NamedModel):
license
=
models
.
ForeignKey
(
License
,
on_delete
=
models
.
SET_NULL
,
blank
=
True
,
null
=
True
)
public
=
models
.
BooleanField
(
default
=
True
)
description
=
models
.
TextField
(
blank
=
True
)
description
=
models
.
TextField
(
blank
=
True
,
null
=
True
)
updated
=
models
.
DateTimeField
(
blank
=
True
,
null
=
True
)
def
main_page
(
self
):
...
...
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