From cbf2c8396ae73abf13ddd7d82369fa89808db45f 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 8807cf85..3737f75a 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