Fix deprecations in project
This commit is contained in:
+1
-1
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user