From d7f06bef5381ca7e403079e896193dc3cbe150e7 Mon Sep 17 00:00:00 2001 From: dkwncho Date: Tue, 10 Dec 2024 22:35:08 -0500 Subject: [PATCH] Refactor Booking fields without translations --- backend/ohq/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/ohq/models.py b/backend/ohq/models.py index f4124d50..8c0946d7 100644 --- a/backend/ohq/models.py +++ b/backend/ohq/models.py @@ -455,8 +455,8 @@ class Booking(models.Model): occurrence = models.ForeignKey(Occurrence, on_delete=models.CASCADE) user = models.ForeignKey(User, on_delete=models.CASCADE, blank=True, null=True) - start = models.DateTimeField(_("start"), db_index=True) - end = models.DateTimeField(_("end"), db_index=True) + start = models.DateTimeField("start", db_index=True) + end = models.DateTimeField("end", db_index=True) class Meta: verbose_name = _("booking")