Fix deprecations in project

This commit is contained in:
Aarni Halinen
2018-05-09 18:33:59 +03:00
parent a9cf253c83
commit ecf34d9039
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ class Comment(CommentParent):
verbose_name_plural = _('Kaehmykommentit')
message = models.TextField(_('Message'))
parent = models.ForeignKey('CommentParent', related_name='messages')
parent = models.ForeignKey('CommentParent', related_name='messages', on_delete=models.CASCADE)
class Application(CommentParent):