fix for error where db cursor closes when looking for usermisc objects by relation.

This commit is contained in:
ajurna committed 2021-05-25 09:21:04 +01:00
1 parent 39222118ab
commit 99697f4eab
2 files changed
+20

No files matched your search

+3
View File
@@ -457,6 +457,9 @@ class ComicPage(models.Model):
page_file_name = models.CharField(max_length=200, unique=False)
content_type = models.CharField(max_length=30)
class Meta:
ordering = ['index']
class ComicStatus(models.Model):
user = models.ForeignKey(User, unique=False, null=False, on_delete=models.CASCADE)