Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

PROTECT, not PROTECTION

dadosch633d2b376fed
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)