apply some patches from @brookst

This commit is contained in:
dadosch 2018-08-29 00:04:48 +02:00
parent 40e79a731f
commit 91cecd47af
10 changed files with 36 additions and 18 deletions

View file

@ -4,7 +4,7 @@ from django.db import models
class Reminder(models.Model):
document = models.ForeignKey(
"documents.Document", on_delete=models.DO_NOTHING
"documents.Document", on_delete=models.PROTECTION
)
date = models.DateTimeField()
note = models.TextField(blank=True)