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
Debian New Member Process
nm.debian.org
Commits
cacfaa5c
Verified
Commit
cacfaa5c
authored
Feb 27, 2021
by
Mattia Rizzolo
Browse files
small flake8 bits
Signed-off-by:
Mattia Rizzolo
<
mattia@debian.org
>
parent
cce1ab16
Changes
2
Hide whitespace changes
Inline
Side-by-side
backend/models.py
View file @
cacfaa5c
...
@@ -195,8 +195,10 @@ class Person(PermissionsMixin, models.Model):
...
@@ -195,8 +195,10 @@ class Person(PermissionsMixin, models.Model):
# First/Given name, or only name in case of only one name
# First/Given name, or only name in case of only one name
email
=
models
.
EmailField
(
_
(
"email address"
),
null
=
False
,
unique
=
True
)
email
=
models
.
EmailField
(
_
(
"email address"
),
null
=
False
,
unique
=
True
)
bio
=
models
.
TextField
(
_
(
"short biography"
),
blank
=
True
,
null
=
False
,
default
=
""
,
bio
=
models
.
TextField
(
help_text
=
_
(
"The short biography may be visible on this site and published to a mailing list"
))
_
(
"short biography"
),
blank
=
True
,
null
=
False
,
default
=
""
,
help_text
=
_
(
"The short biography may be visible on this site and published to a mailing list"
)
)
# Membership status
# Membership status
status
=
models
.
CharField
(
_
(
"current status in the project"
),
max_length
=
20
,
null
=
False
,
status
=
models
.
CharField
(
_
(
"current status in the project"
),
max_length
=
20
,
null
=
False
,
...
...
process/models.py
View file @
cacfaa5c
...
@@ -10,7 +10,6 @@ import backend.models as bmodels
...
@@ -10,7 +10,6 @@ import backend.models as bmodels
from
backend
import
const
from
backend
import
const
from
keyring
import
utils
as
kutils
from
keyring
import
utils
as
kutils
import
datetime
import
datetime
import
re
import
os
import
os
from
collections
import
namedtuple
from
collections
import
namedtuple
from
.
import
permissions
from
.
import
permissions
...
...
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