mirror of
https://github.com/fspc/workstand.git
synced 2026-09-25 12:51:38 -04:00
Add fields to track member creation and edit datetimes (#48)
* Add created and updated fields.
This commit is contained in:
@@ -96,6 +96,8 @@ class Member(models.Model):
|
||||
notes = models.TextField(null=True, blank=True)
|
||||
suspended = models.BooleanField(default=False)
|
||||
banned = models.BooleanField(default=False)
|
||||
created_at = models.DateTimeField(auto_now_add=True)
|
||||
modified_at = models.DateTimeField(auto_now=True)
|
||||
|
||||
def get_full_name(self):
|
||||
# The user is identified by their email address
|
||||
|
||||
Reference in New Issue
Block a user