Skip to content
Snippets Groups Projects
Verified Commit 26b4e2b2 authored by magicfelix's avatar magicfelix Committed by Jonathan Weth
Browse files

Correct verbose names

parent 97e41acf
No related branches found
No related tags found
3 merge requests!352Draft: Resolve "Add dialog with each lesson's students",!350Resolve "Add simple course book list",!339Draft: Resolve "Migrate to new data model"
......@@ -72,8 +72,8 @@ class Migration(migrations.Migration):
),
],
options={
"verbose_name": "Teaching documentation",
"verbose_name_plural": "Teaching documentations",
"verbose_name": "Documentation",
"verbose_name_plural": "Documentations",
},
bases=("core.calendarevent",),
),
......
......@@ -489,8 +489,8 @@ class Documentation(CalendarEvent):
return f"{format_m2m(self.get_groups())} {self.get_subject()} {start_datetime} - {end_datetime}"
class Meta:
verbose_name = _("Teaching documentation")
verbose_name_plural = _("Teaching documentations")
verbose_name = _("Documentation")
verbose_name_plural = _("Documentations")
constraints = [
models.CheckConstraint(
check=~Q(course__isnull=True, lesson_event__isnull=True),
......
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