fix: reset feedback stuff
This commit is contained in:
parent
e32a2eddf3
commit
9dc412502e
|
|
@ -43,6 +43,10 @@ from vbv_lernwelt.learnpath.models import (
|
||||||
LearningContentFeedbackVV,
|
LearningContentFeedbackVV,
|
||||||
)
|
)
|
||||||
from vbv_lernwelt.notify.models import Notification
|
from vbv_lernwelt.notify.models import Notification
|
||||||
|
from vbv_lernwelt.self_evaluation_feedback.models import (
|
||||||
|
CourseCompletionFeedback,
|
||||||
|
SelfEvaluationFeedback,
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
@click.command()
|
@click.command()
|
||||||
|
|
@ -111,6 +115,9 @@ def command(
|
||||||
FeedbackResponse.objects.all().delete()
|
FeedbackResponse.objects.all().delete()
|
||||||
CourseSessionAttendanceCourse.objects.all().update(attendance_user_list=[])
|
CourseSessionAttendanceCourse.objects.all().update(attendance_user_list=[])
|
||||||
|
|
||||||
|
SelfEvaluationFeedback.objects.all().delete()
|
||||||
|
CourseCompletionFeedback.objects.all().delete()
|
||||||
|
|
||||||
LearningMentor.objects.all().delete()
|
LearningMentor.objects.all().delete()
|
||||||
User.objects.all().update(organisation=Organisation.objects.first())
|
User.objects.all().update(organisation=Organisation.objects.first())
|
||||||
User.objects.all().update(language="de")
|
User.objects.all().update(language="de")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue