Format code

This commit is contained in:
Daniel Egger 2023-10-14 02:09:30 +02:00
parent 5ea9d09c1b
commit f924c5ddb3
4 changed files with 13 additions and 14 deletions

View File

@ -4,10 +4,10 @@ from graphene_django import DjangoObjectType
from vbv_lernwelt.assignment.graphql.types import AssignmentObjectType
from vbv_lernwelt.competence.models import (
ActionCompetence,
CompetenceCertificate,
CompetenceCertificateList,
PerformanceCriteria,
ActionCompetence,
)
from vbv_lernwelt.course.graphql.interfaces import CoursePageInterface
from vbv_lernwelt.learnpath.graphql.types import LearningUnitObjectType

View File

@ -6,16 +6,16 @@ from vbv_lernwelt.course.graphql.types import CourseObjectType, CourseSessionObj
from vbv_lernwelt.course.models import Course, CourseSession
from vbv_lernwelt.course.permissions import has_course_access
from vbv_lernwelt.learnpath.graphql.types import (
LearningContentMediaLibraryObjectType,
LearningContentAssignmentObjectType,
LearningContentAttendanceCourseObjectType,
LearningContentDocumentListObjectType,
LearningContentEdoniqTestObjectType,
LearningContentFeedbackObjectType,
LearningContentLearningModuleObjectType,
LearningContentMediaLibraryObjectType,
LearningContentPlaceholderObjectType,
LearningContentRichTextObjectType,
LearningContentEdoniqTestObjectType,
LearningContentVideoObjectType,
LearningContentDocumentListObjectType,
)

View File

@ -1,9 +1,7 @@
import graphene
from vbv_lernwelt.course.graphql.types import resolve_course_page
from vbv_lernwelt.learnpath.graphql.types import (
LearningPathObjectType,
)
from vbv_lernwelt.learnpath.graphql.types import LearningPathObjectType
from vbv_lernwelt.learnpath.models import LearningPath

View File

@ -1,20 +1,21 @@
# Generated by Django 3.2.20 on 2023-10-13 23:32
from django.db import migrations, models
import django.db.models.deletion
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('assignment', '0010_assignmentcompletion_edoniq_extended_time_flag'),
('learnpath', '0009_alter_learningcontentedoniqtest_content_assignment'),
("assignment", "0010_assignmentcompletion_edoniq_extended_time_flag"),
("learnpath", "0009_alter_learningcontentedoniqtest_content_assignment"),
]
operations = [
migrations.AlterField(
model_name='learningcontentedoniqtest',
name='content_assignment',
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='assignment.assignment'),
model_name="learningcontentedoniqtest",
name="content_assignment",
field=models.ForeignKey(
on_delete=django.db.models.deletion.PROTECT, to="assignment.assignment"
),
),
]