summaryrefslogtreecommitdiffstats
path: root/instruments/models.py
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-06-07 11:27:26 +0100
committerMatthew Lemon <y@yulqen.org>2024-06-07 11:27:26 +0100
commitd819080dcb4f6a331df607a1d5810ac38654bc6a (patch)
tree636bd90199151a6ff8056e606df193000b4f79cb /instruments/models.py
parent790d5784c66d7e7c03d4594c6d8d7a953e140ff0 (diff)
Removes required flag on subinstrument relative
Diffstat (limited to 'instruments/models.py')
-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):