Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

The contract options are optional

Roland Geider26400f8c2c1e
diff --git a/wger/gym/models.py b/wger/gym/models.py
index 1a02ae0b6..1f5532696 100644
--- a/wger/gym/models.py
+++ b/wger/gym/models.py
@@ -516,7 +516,8 @@ class Contract(m.Model):
'''
options = m.ManyToManyField(ContractOption,
- verbose_name=_('Options'))
+ verbose_name=_('Options'),
+ blank=True)
'''
Options for the contract
'''