From 11dc64ab73e0e8baaed158b105287a12c41b921b Mon Sep 17 00:00:00 2001 From: Ernesto Rico Schmidt <ernesto@helsinki.at> Date: Sun, 7 Aug 2022 17:19:20 -0400 Subject: [PATCH] Use abstract ModelWithCreatedUpdatedFields for Show model this adds the fields `created_at`, `created_by`, `updated_at` and `updated_by` --- program/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/models.py b/program/models.py index 18c43d52..a6c7a96f 100644 --- a/program/models.py +++ b/program/models.py @@ -203,7 +203,7 @@ class HostLink(Link): host = models.ForeignKey(Host, on_delete=models.CASCADE, related_name="links") -class Show(ModelWithImageFields): +class Show(ModelWithImageFields, ModelWithCreatedUpdatedFields): predecessor = models.ForeignKey( "self", blank=True, -- GitLab