Format code
This commit is contained in:
parent
5ea9d09c1b
commit
f924c5ddb3
|
|
@ -4,10 +4,10 @@ from graphene_django import DjangoObjectType
|
||||||
|
|
||||||
from vbv_lernwelt.assignment.graphql.types import AssignmentObjectType
|
from vbv_lernwelt.assignment.graphql.types import AssignmentObjectType
|
||||||
from vbv_lernwelt.competence.models import (
|
from vbv_lernwelt.competence.models import (
|
||||||
|
ActionCompetence,
|
||||||
CompetenceCertificate,
|
CompetenceCertificate,
|
||||||
CompetenceCertificateList,
|
CompetenceCertificateList,
|
||||||
PerformanceCriteria,
|
PerformanceCriteria,
|
||||||
ActionCompetence,
|
|
||||||
)
|
)
|
||||||
from vbv_lernwelt.course.graphql.interfaces import CoursePageInterface
|
from vbv_lernwelt.course.graphql.interfaces import CoursePageInterface
|
||||||
from vbv_lernwelt.learnpath.graphql.types import LearningUnitObjectType
|
from vbv_lernwelt.learnpath.graphql.types import LearningUnitObjectType
|
||||||
|
|
|
||||||
|
|
@ -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.models import Course, CourseSession
|
||||||
from vbv_lernwelt.course.permissions import has_course_access
|
from vbv_lernwelt.course.permissions import has_course_access
|
||||||
from vbv_lernwelt.learnpath.graphql.types import (
|
from vbv_lernwelt.learnpath.graphql.types import (
|
||||||
LearningContentMediaLibraryObjectType,
|
|
||||||
LearningContentAssignmentObjectType,
|
LearningContentAssignmentObjectType,
|
||||||
LearningContentAttendanceCourseObjectType,
|
LearningContentAttendanceCourseObjectType,
|
||||||
|
LearningContentDocumentListObjectType,
|
||||||
|
LearningContentEdoniqTestObjectType,
|
||||||
LearningContentFeedbackObjectType,
|
LearningContentFeedbackObjectType,
|
||||||
LearningContentLearningModuleObjectType,
|
LearningContentLearningModuleObjectType,
|
||||||
|
LearningContentMediaLibraryObjectType,
|
||||||
LearningContentPlaceholderObjectType,
|
LearningContentPlaceholderObjectType,
|
||||||
LearningContentRichTextObjectType,
|
LearningContentRichTextObjectType,
|
||||||
LearningContentEdoniqTestObjectType,
|
|
||||||
LearningContentVideoObjectType,
|
LearningContentVideoObjectType,
|
||||||
LearningContentDocumentListObjectType,
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,7 @@
|
||||||
import graphene
|
import graphene
|
||||||
|
|
||||||
from vbv_lernwelt.course.graphql.types import resolve_course_page
|
from vbv_lernwelt.course.graphql.types import resolve_course_page
|
||||||
from vbv_lernwelt.learnpath.graphql.types import (
|
from vbv_lernwelt.learnpath.graphql.types import LearningPathObjectType
|
||||||
LearningPathObjectType,
|
|
||||||
)
|
|
||||||
from vbv_lernwelt.learnpath.models import LearningPath
|
from vbv_lernwelt.learnpath.models import LearningPath
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,21 @@
|
||||||
# Generated by Django 3.2.20 on 2023-10-13 23:32
|
# Generated by Django 3.2.20 on 2023-10-13 23:32
|
||||||
|
|
||||||
from django.db import migrations, models
|
|
||||||
import django.db.models.deletion
|
import django.db.models.deletion
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration):
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
('assignment', '0010_assignmentcompletion_edoniq_extended_time_flag'),
|
("assignment", "0010_assignmentcompletion_edoniq_extended_time_flag"),
|
||||||
('learnpath', '0009_alter_learningcontentedoniqtest_content_assignment'),
|
("learnpath", "0009_alter_learningcontentedoniqtest_content_assignment"),
|
||||||
]
|
]
|
||||||
|
|
||||||
operations = [
|
operations = [
|
||||||
migrations.AlterField(
|
migrations.AlterField(
|
||||||
model_name='learningcontentedoniqtest',
|
model_name="learningcontentedoniqtest",
|
||||||
name='content_assignment',
|
name="content_assignment",
|
||||||
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='assignment.assignment'),
|
field=models.ForeignKey(
|
||||||
|
on_delete=django.db.models.deletion.PROTECT, to="assignment.assignment"
|
||||||
|
),
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue