From 100e42bdd2ac607f4e8489f7fea45f2e679f20b8 Mon Sep 17 00:00:00 2001 From: Elia Bieri Date: Tue, 23 May 2023 16:43:24 +0200 Subject: [PATCH] Reformat code --- ...ndance_days_coursesession_attendance_courses.py | 8 ++++---- ...ttendanceday_learningcontentattendancecourse.py | 14 +++++++------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/server/vbv_lernwelt/course/migrations/0003_rename_attendance_days_coursesession_attendance_courses.py b/server/vbv_lernwelt/course/migrations/0003_rename_attendance_days_coursesession_attendance_courses.py index 1d6bdf96..3b013fb3 100644 --- a/server/vbv_lernwelt/course/migrations/0003_rename_attendance_days_coursesession_attendance_courses.py +++ b/server/vbv_lernwelt/course/migrations/0003_rename_attendance_days_coursesession_attendance_courses.py @@ -6,13 +6,13 @@ from django.db import migrations class Migration(migrations.Migration): dependencies = [ - ('course', '0002_initial'), + ("course", "0002_initial"), ] operations = [ migrations.RenameField( - model_name='coursesession', - old_name='attendance_days', - new_name='attendance_courses', + model_name="coursesession", + old_name="attendance_days", + new_name="attendance_courses", ), ] diff --git a/server/vbv_lernwelt/learnpath/migrations/0003_rename_learningcontentattendanceday_learningcontentattendancecourse.py b/server/vbv_lernwelt/learnpath/migrations/0003_rename_learningcontentattendanceday_learningcontentattendancecourse.py index b932105b..7c0b9f61 100644 --- a/server/vbv_lernwelt/learnpath/migrations/0003_rename_learningcontentattendanceday_learningcontentattendancecourse.py +++ b/server/vbv_lernwelt/learnpath/migrations/0003_rename_learningcontentattendanceday_learningcontentattendancecourse.py @@ -7,17 +7,17 @@ from django.db import migrations class Migration(migrations.Migration): dependencies = [ - ('wagtailcore', '0083_workflowcontenttype'), - ('wagtailforms', '0005_alter_formsubmission_form_data'), - ('wagtailredirects', '0008_add_verbose_name_plural'), - ('contenttypes', '0002_remove_content_type_name'), + ("wagtailcore", "0083_workflowcontenttype"), + ("wagtailforms", "0005_alter_formsubmission_form_data"), + ("wagtailredirects", "0008_add_verbose_name_plural"), + ("contenttypes", "0002_remove_content_type_name"), migrations.swappable_dependency(settings.AUTH_USER_MODEL), - ('learnpath', '0002_learningcontentrichtext_text'), + ("learnpath", "0002_learningcontentrichtext_text"), ] operations = [ migrations.RenameModel( - old_name='LearningContentAttendanceDay', - new_name='LearningContentAttendanceCourse', + old_name="LearningContentAttendanceDay", + new_name="LearningContentAttendanceCourse", ), ]