Add success notification emails.

Enable RevisionMixin for EventAuthorisation.

Add signal receivers for RIGS.

Expand RIGS into an explicitly defined app to support signals.
This commit is contained in:
Tom Price
2017-04-10 19:16:45 +01:00
parent cf11e8235f
commit 3b2aa02ae5
8 changed files with 76 additions and 8 deletions

View File

@@ -506,7 +506,7 @@ class EventCrew(models.Model):
@reversion.register
class EventAuthorisation(models.Model):
class EventAuthorisation(models.Model, RevisionMixin):
event = models.OneToOneField('Event', related_name='authorisation')
email = models.EmailField()
name = models.CharField(max_length=255)