diff options
author | Matthew Lemon <matt@matthewlemon.com> | 2020-10-02 16:47:25 +0100 |
---|---|---|
committer | Matthew Lemon <matt@matthewlemon.com> | 2020-10-02 16:47:48 +0100 |
commit | 4a92042e7d1ebbca2537e49166cea1aa0a60aac6 (patch) | |
tree | 520f2be6c9e17a5d2e24278284e926be901fa97c /ctrack/register/models.py | |
parent | 11b4886e07aafe9f7d0412adc6d7556f78ea1dc2 (diff) |
fixed broken populate script
Diffstat (limited to 'ctrack/register/models.py')
-rw-r--r-- | ctrack/register/models.py | 4 |
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.") |