From f436a43f53738f9001ff44017fe7a2d21a7773c7 Mon Sep 17 00:00:00 2001 From: Patrick Mayr Date: Wed, 19 Jan 2022 09:10:43 +0000 Subject: [PATCH] add comment --- fet2020/tasks/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/fet2020/tasks/models.py b/fet2020/tasks/models.py index 7904748a..31717c43 100644 --- a/fet2020/tasks/models.py +++ b/fet2020/tasks/models.py @@ -130,6 +130,7 @@ class Document(models.Model): verbose_name_plural = "Dokumente" constraints = [ + # TODO: include lower/upper case - when Django 4.0, then go for it. UniqueConstraint( fields=["title", "date", "task"], name="unique_task_document" ),