X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/e977f7187b10b1bc0a30794cd585c6b840568996..db255ed9d242c56b010061fbdef8de9b696869d4:/src/documents/models/image.py 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'