Updated to Django 2

This commit is contained in:
Jonas Winkler
2018-07-04 17:03:59 +02:00
parent f3654310bd
commit 8f6231bd34
7 changed files with 16 additions and 13 deletions

2
src/reminders/models.py Normal file → Executable file
View File

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