Private
Public Access
1
0
This commit is contained in:
Sander Roosendaal
2021-03-22 19:30:56 +01:00
parent 085cec6d43
commit c07b06328e
3 changed files with 38 additions and 7 deletions

View File

@@ -1556,6 +1556,7 @@ class InstantPlan(models.Model):
uuid = models.UUIDField(primary_key=False,editable=True,default=uuid.uuid4)
owner = models.ForeignKey(User,on_delete=models.SET_NULL,null=True)
name = models.CharField(max_length=150,blank=True)
url = models.CharField(max_length=200,blank=True, verbose_name="URL Link to plan origin")
goal = models.CharField(max_length=150,blank=True,verbose_name="Goal (one sentence)")
description = models.TextField(max_length=450,blank=True)
duration = models.IntegerField(default=6,verbose_name='Duration in Calendar Days')
@@ -1596,6 +1597,7 @@ class InstantPlanForm(ModelForm):
'target',
'hoursperweek',
'sessionsperweek',
'url',
'yaml',
]