From cdd3ad64a9f5a32ba077d4d3d8f06e043eabdd22 Mon Sep 17 00:00:00 2001 From: "James S. Wang" Date: Sat, 8 Apr 2023 10:38:58 -0400 Subject: [PATCH 1/2] Migration: Add back alter course to not index school --- .../migrations/0040_alter_course_school.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 timetable/migrations/0040_alter_course_school.py diff --git a/timetable/migrations/0040_alter_course_school.py b/timetable/migrations/0040_alter_course_school.py new file mode 100644 index 0000000000..b1d8939eee --- /dev/null +++ b/timetable/migrations/0040_alter_course_school.py @@ -0,0 +1,18 @@ +# Generated by Django 3.2.18 on 2023-04-08 14:38 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('timetable', '0039_auto_20230303_1640'), + ] + + operations = [ + migrations.AlterField( + model_name='course', + name='school', + field=models.CharField(max_length=100), + ), + ] From 51c8f0d84b1c4938bd34a90ef0b15d421f5f413d Mon Sep 17 00:00:00 2001 From: "James S. Wang" Date: Sat, 8 Apr 2023 10:40:22 -0400 Subject: [PATCH 2/2] Formatting --- timetable/migrations/0040_alter_course_school.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/timetable/migrations/0040_alter_course_school.py b/timetable/migrations/0040_alter_course_school.py index b1d8939eee..c6a886e5f9 100644 --- a/timetable/migrations/0040_alter_course_school.py +++ b/timetable/migrations/0040_alter_course_school.py @@ -6,13 +6,13 @@ class Migration(migrations.Migration): dependencies = [ - ('timetable', '0039_auto_20230303_1640'), + ("timetable", "0039_auto_20230303_1640"), ] operations = [ migrations.AlterField( - model_name='course', - name='school', + model_name="course", + name="school", field=models.CharField(max_length=100), ), ]