aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/register/models.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ctrack/register/models.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ctrack/register/models.py b/ctrack/register/models.py
index a435002..8c35ef9 100644
--- a/ctrack/register/models.py
+++ b/ctrack/register/models.py
@@ -29,7 +29,7 @@ class EngagementType(models.Model):
Also official instruments such as designation letters, Information Notices, etc.
"""
- descriptor = models.CharField(max_length=50, blank=False)
+ descriptor = models.CharField(max_length=100, blank=False)
enforcement_instrument = models.BooleanField(default=False)
regulation_reference = models.CharField(max_length=100, blank=True, null=True)
comments = models.TextField(max_length=1000, blank=True, null=True)
@@ -55,7 +55,7 @@ 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, blank=True, null=True)
+ participants = models.ManyToManyField(Person, blank=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, help_text="Should be used for periodic events.")