Private
Public Access
1
0

instantplans

This commit is contained in:
2023-08-14 21:41:35 +02:00
parent 87a65cd5f8
commit cd9fba9121
5 changed files with 21 additions and 3 deletions

View File

@@ -1715,6 +1715,8 @@ class InstantPlan(models.Model):
price = models.IntegerField(default=0, verbose_name="Price in EURO")
url = models.CharField(max_length=250, blank=True,
verbose_name="Link to page with more information")
private = models.BooleanField(default=False,
verbose_name="Hidden, personal")
def __str__(self): # pragma: no cover
return self.name
@@ -1753,6 +1755,7 @@ class InstantPlanForm(ModelForm):
'hoursperweek',
'sessionsperweek',
'yaml',
'private'
]