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:
Drew Larson
2017-02-16 22:53:49 -06:00
committed by GitHub
parent 960e107415
commit 49f37ed492
16 changed files with 318 additions and 167 deletions
+3
View File
@@ -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