add comment

This commit is contained in:
2022-01-19 09:10:43 +00:00
parent 97dc7bba0f
commit f436a43f53

View File

@@ -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"
),