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
b2b0a5af
Commit
b2b0a5af
authored
Mar 12, 2012
by
Enrico Zini
Browse files
Added field to track when one's status last changed
parent
86749bdf
Changes
1
Hide whitespace changes
Inline
Side-by-side
backend/models.py
View file @
b2b0a5af
...
...
@@ -77,9 +77,8 @@ class Person(models.Model):
fpr
=
models
.
CharField
(
"OpenPGP key fingerprint"
,
max_length
=
80
,
null
=
True
,
unique
=
True
,
blank
=
True
)
status
=
models
.
CharField
(
"current status in the project"
,
max_length
=
20
,
null
=
False
,
choices
=
[
x
[
1
:
3
]
for
x
in
const
.
ALL_STATUS
])
status_changed
=
models
.
DateTimeField
(
"when the status last changed"
,
null
=
False
,
default
=
datetime
.
datetime
.
utcnow
)
fd_comment
=
models
.
TextField
(
"Front Desk comments"
,
null
=
True
,
blank
=
True
)
# FIXME: no password field for now; hopefully we can do away with the need
# of maintaining a password database
@
property
def
is_am
(
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