From 83f70e4f411c1696db9296e20afd173c4c7b16e7 Mon Sep 17 00:00:00 2001 From: Raphael Gaschignard Date: Sat, 27 Jul 2024 10:55:44 +1000 Subject: [PATCH] Don't put a default into the migration We don't want a default anyways. --- taggit/migrations/0007_taggeditem_created_at.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/taggit/migrations/0007_taggeditem_created_at.py b/taggit/migrations/0007_taggeditem_created_at.py index e14831a0..86f244d7 100644 --- a/taggit/migrations/0007_taggeditem_created_at.py +++ b/taggit/migrations/0007_taggeditem_created_at.py @@ -17,8 +17,6 @@ class Migration(migrations.Migration): migrations.AddField( model_name="taggeditem", name="created_at", - field=models.DateTimeField( - blank=True, default=django.utils.timezone.now, null=True - ), + field=models.DateTimeField(blank=True, null=True), ), ]