Commit b2b0a5af authored by Enrico Zini's avatar Enrico Zini
Browse files

Added field to track when one's status last changed

parent 86749bdf
......@@ -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):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment