diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2020-10-02 10:29:22 +0100 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2020-10-02 10:29:22 +0100 |
commit | b5635e276781810dc6ae0a608c64a00e4a951cbb (patch) | |
tree | 6c5de6ca3a1aac2ba6f56cfffd07fe5efdd3409a /ctrack/register/models.py | |
parent | c3fd7a10d270d408b7661501c3c3023d602f7054 (diff) |
tidying
Diffstat (limited to '')
-rw-r--r-- | ctrack/register/models.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ctrack/register/models.py b/ctrack/register/models.py index 642d69b..f485761 100644 --- a/ctrack/register/models.py +++ b/ctrack/register/models.py @@ -56,11 +56,11 @@ class EngagementEvent(models.Model): short_description = models.CharField( max_length=50, help_text="Short description of the event. Use Comments field for full detail." ) - participants = models.ManyToManyField(Person) + participants = models.ManyToManyField(Person, blank=True, null=True) user = models.ForeignKey(get_user_model(), on_delete=models.SET(get_sentinel_user)) date = models.DateTimeField() - end_date = models.DateTimeField(blank=True, null=True) - document_link = models.URLField(max_length=1000, blank=True, null=True, help_text="URL only - do not try to drag a file here") + end_date = models.DateTimeField(blank=True, null=True, help_text="Should be used for periodic events.") + document_link = models.URLField(max_length=1000, blank=True, null=True, help_text="URL only - do not try to drag a file here.") response_date_requested = models.DateField(blank=True, null=True) response_received = models.DateField(blank=True, null=True) related_caf = models.ForeignKey( |