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
a228c8ab
Commit
a228c8ab
authored
Feb 16, 2018
by
Guilhem Saurel
Browse files
contributor_agreement_signed
parent
df44cc40
Changes
2
Hide whitespace changes
Inline
Side-by-side
rainboard/migrations/0005_contributor_agreement_signed.py
0 → 100644
View file @
a228c8ab
# Generated by Django 2.0.2 on 2018-02-16 14:11
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'rainboard'
,
'0004_contributor_contributormail_contributorname'
),
]
operations
=
[
migrations
.
AddField
(
model_name
=
'contributor'
,
name
=
'agreement_signed'
,
field
=
models
.
BooleanField
(
default
=
False
),
),
]
rainboard/models.py
View file @
a228c8ab
...
...
@@ -657,6 +657,7 @@ class Tag(models.Model):
class
Contributor
(
models
.
Model
):
projects
=
models
.
ManyToManyField
(
Project
)
agreement_signed
=
models
.
BooleanField
(
default
=
False
)
def
__str__
(
self
):
name
=
self
.
contributorname_set
.
first
()
...
...
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