diff --git a/cfl_common/common/migrations/0053_clean_class_data.py b/cfl_common/common/migrations/0053_clean_class_data.py index c9553607b..9e447d5ba 100644 --- a/cfl_common/common/migrations/0053_clean_class_data.py +++ b/cfl_common/common/migrations/0053_clean_class_data.py @@ -1,13 +1,13 @@ from django.apps.registry import Apps from django.db import migrations, models -from datetime import datetime +from datetime import date def clean_early_class_data(apps: Apps, *args): Class = apps.get_model("common", "Class") Class.objects.filter( - creation_time__date__lt = datetime.date(2021, 10, 15) + creation_time__date__lt = date(2021, 10, 15) ).update(creation_time = None) class Migration(migrations.Migration):