forked from xarg/django-stdimage
-
-
Notifications
You must be signed in to change notification settings - Fork 65
Closed
Labels
Description
currently delete_orphans=True
only works in conjunction with blank=True
due to https://github.com/codingjoe/django-stdimage/blob/master/stdimage/models.py#L287
delete_orphans
should also work with blank=False
.
I think it should be sufficient to just remove self.blank
from the if statement.
Happy to do a PR for this small change.