Skip to content
Snippets Groups Projects

Translate BisuIT-App-Alsijil to German. Advances Teckids/BiscuIT/BiscuIT-ng#45.

Merged Tom Teichler requested to merge translations into master
All threads resolved!
2 files
+ 31
1
Compare changes
  • Side-by-side
  • Inline
Files
2
from django.db import models
from django.utils.translation import ugettext_lazy as _
from biscuit.chronos.util import current_week
from biscuit.core.mixins import SchoolRelated
class PersonalNote(SchoolRelated):
person = models.ForeignKey('core.Person', models.CASCADE)
week = models.IntegerField()
lesson_period = models.ForeignKey('chronos.LessonPeriod', models.CASCADE)
absent = models.BooleanField(default=False)
late = models.IntegerField(default=0)
excused = models.BooleanField(default=False)
remarks = models.CharField(max_length=200, blank=True)
class Meta:
unique_together = [['school', 'lesson_period', 'week', 'person']]
class LessonDocumentation(SchoolRelated):
week = models.IntegerField()
lesson_period = models.ForeigbKey('chronos.LessonPeriod', models.CASCADE)
topic = models.CharField(verbose_name=_('Lesson topic'), max_length=200)
homework = models.CharField(verbose_name=_('Homework'), max_length=200)
class Meta:
unique_together = [['school', 'lesson_period', 'week']]
Loading