X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/e977f7187b10b1bc0a30794cd585c6b840568996..21ae6d580b73b6a180a25b8514e5446d61bb888e:/src/documents/models/image.py?ds=inline diff --git a/src/documents/models/image.py b/src/documents/models/image.py index 10782dcf..b05c9288 100644 --- a/src/documents/models/image.py +++ b/src/documents/models/image.py @@ -23,9 +23,9 @@ class Image(dvcs_models.Document): project = models.ForeignKey(Project, models.SET_NULL, null=True, blank=True) # cache - _new_publishable = models.NullBooleanField(editable=False) - _published = models.NullBooleanField(editable=False) - _changed = models.NullBooleanField(editable=False) + _new_publishable = models.BooleanField(editable=False, null=True) + _published = models.BooleanField(editable=False, null=True) + _changed = models.BooleanField(editable=False, null=True) class Meta: app_label = 'documents'