Skip to content
Snippets Groups Projects
Commit 4cabda9e authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Apply suggestion to aleksis/apps/chronos/model_extensions.py

parent 5df0b2b4
No related branches found
No related tags found
1 merge request!31Biscuit merge. Closes #53.
......@@ -5,7 +5,7 @@ from .models import Lesson, LessonPeriod
@Person.property
def is_teacher(self):
""" Check if the user has lessons as an teacher """
""" Check if the user has lessons as a teacher """
return Lesson.objects.filter(teachers=self).exists()
......
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