summaryrefslogtreecommitdiffstats
path: root/instruments/models.py
diff options
context:
space:
mode:
authorYulqen <246857+yulqen@users.noreply.github.com>2024-06-07 11:28:49 +0100
committerGitHub <noreply@github.com>2024-06-07 11:28:49 +0100
commitafc33046439e4cec0a5de7c87cb5dc8e23606689 (patch)
tree636bd90199151a6ff8056e606df193000b4f79cb /instruments/models.py
parentdad618d6c7fd27db276c404fd2f7a3e1ede96cc0 (diff)
parentd819080dcb4f6a331df607a1d5810ac38654bc6a (diff)
Merge pull request #99 from defencedigital/postgres-migration
Removes required flag on sub-instrument relative field and ComplyIQ from title
Diffstat (limited to '')
-rw-r--r--instruments/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/instruments/models.py b/instruments/models.py
index e266fb2..9415957 100644
--- a/instruments/models.py
+++ b/instruments/models.py
@@ -39,7 +39,7 @@ class SubInstrument(Common):
parent = models.ForeignKey(Instrument, on_delete=models.CASCADE, verbose_name="Parent Instrument")
description = models.TextField(null=True, blank=True)
rationale = models.TextField(null=True, blank=True)
- relative = models.ManyToManyField("self")
+ relative = models.ManyToManyField("self", blank=True)
short = models.CharField(max_length=10, null=True, blank=True)
def effort(self):