X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/79fb0def6f0afd178bfe080522150c242824fbbd..8a9226b9c80c99c82702fba212f7a7241dc14c7e:/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'