We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b98701 commit 9b5d8ccCopy full SHA for 9b5d8cc
fileupload/models.py
@@ -22,6 +22,7 @@ def save(self, *args, **kwargs):
22
self.slug = self.file.name
23
super(Picture, self).save(*args, **kwargs)
24
25
+ # remove to leave file.
26
def delete(self, *args, **kwargs):
27
self.file.delete(False)
28
super(Picture, self).delete(*args, **kwargs)
0 commit comments