mirror of
https://github.com/fspc/workstand.git
synced 2026-09-26 13:21:37 -04:00
Add member notes (#35)
* Linting. * Clean up. * Hope this makes installs better. * Rework edit member form with notes and banned and suspended. * Add slack notifications. * Display new member statuses. * Update docker run command migrate, collectstatic, and rebuild_index * Formatting and only push when master. * Don’t need this for an edit page. * More meaningful action. * Add testing requirements. * Run tests during build. * Use prod settings for testing. * Nail down the order of those tests.
This commit is contained in:
@@ -93,6 +93,9 @@ class Member(models.Model):
|
||||
post_code = models.CharField(max_length=20, null=True, blank=False)
|
||||
waiver = models.DateTimeField(null=True, blank=True)
|
||||
is_active = models.BooleanField(default=True)
|
||||
notes = models.TextField(null=True, blank=True)
|
||||
suspended = models.BooleanField(default=False)
|
||||
banned = models.BooleanField(default=False)
|
||||
|
||||
def get_full_name(self):
|
||||
# The user is identified by their email address
|
||||
|
||||
Reference in New Issue
Block a user