Skip to content
Snippets Groups Projects
Commit f2de41fc authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Allow lesson documentation to be blank.

parent 0b1789ce
No related branches found
No related tags found
No related merge requests found
...@@ -25,8 +25,8 @@ class LessonDocumentation(SchoolRelated): ...@@ -25,8 +25,8 @@ class LessonDocumentation(SchoolRelated):
week = models.IntegerField() week = models.IntegerField()
lesson_period = models.ForeigbKey('chronos.LessonPeriod', models.CASCADE) lesson_period = models.ForeigbKey('chronos.LessonPeriod', models.CASCADE)
topic = models.CharField(verbose_name=_('Lesson topic'), max_length=200) topic = models.CharField(verbose_name=_('Lesson topic'), max_length=200, blank=True)
homework = models.CharField(verbose_name=_('Homework'), max_length=200) homework = models.CharField(verbose_name=_('Homework'), max_length=200, blank=True)
class Meta: class Meta:
unique_together = [['school', 'lesson_period', 'week']] unique_together = [['school', 'lesson_period', 'week']]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment