Skip to content
Snippets Groups Projects
Verified Commit 3fca9a1f authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Fix lint

parent 467aada0
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"
......@@ -498,7 +498,10 @@ class Documentation(CalendarEvent):
def __str__(self) -> str:
start_datetime = CalendarEvent.value_start_datetime(self, None)
end_datetime = CalendarEvent.value_end_datetime(self, None)
return f"{format_m2m(self.get_groups())} {self.get_subject()} {start_datetime} - {end_datetime}"
return (
f"{format_m2m(self.get_groups())} {self.get_subject()}"
+ f" {start_datetime} - {end_datetime}"
)
class Meta:
verbose_name = _("Documentation")
......
from django.db.models.query_utils import Q
import graphene
from graphene_django import DjangoObjectType
from aleksis.core.schema.base import DjangoFilterMixin, FilterOrderList
from aleksis.core.schema.base import FilterOrderList
from ..models import Documentation, Participation
from ..models import Documentation
from .documentation import (
DocumentationBatchCreateMutation,
DocumentationBatchPatchMutation,
......
from django.core.exceptions import PermissionDenied
import graphene
from calendarweek import CalendarWeek
from graphene_django import DjangoListField
from graphene_django.types import DjangoObjectType
from graphene_django_cud.mutations import (
DjangoBatchCreateMutation,
......
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