From 633d2b376fedba1e0967fac291bc5ca6279c485a Mon Sep 17 00:00:00 2001 From: dadosch Date: Wed, 29 Aug 2018 00:08:01 +0200 Subject: [PATCH] PROTECT, not PROTECTION --- src/reminders/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reminders/models.py b/src/reminders/models.py index 64affaf77..77d872afb 100644 --- a/src/reminders/models.py +++ b/src/reminders/models.py @@ -4,7 +4,7 @@ from django.db import models class Reminder(models.Model): document = models.ForeignKey( - "documents.Document", on_delete=models.PROTECTION + "documents.Document", on_delete=models.PROTECT ) date = models.DateTimeField() note = models.TextField(blank=True)