def delete(self, *args, **kwargs): super(Book, self).delete(*args, **kwargs) delete_file(self, 'index') delete_file(self, 'pages')
def delete(self, *args, **kwargs): """Override delete for deleting file from database""" super().delete(*args, **kwargs) delete_file(self, 'file')
def delete(self, *args, **kwargs): super(Resource, self).delete(*args, **kwargs) delete_file(self, 'link')
def delete(self, *args, **kwargs): delete_file(self, 'media_file') super(File, self).delete(*args, **kwargs)
def delete(self, *args, **kwargs): super(PDFDocument, self).delete(*args, **kwargs) delete_file(self, 'document')
def delete(self, *args, **kwargs): super(CD, self).delete(*args, **kwargs) delete_file(self, 'disc') delete_file(self, 'cover')
def delete(self, *args, **kwargs): super(OrganizationLogo, self).delete(*args, **kwargs) delete_file(self, 'image')
def delete(self, *args, **kwargs): super(Document, self).delete(*args, **kwargs) delete_file(self, 'marksmemo') delete_file(self, 'aadharcard') delete_file(self, 'projectfile')
def delete(self, *args, **kwargs): super(SingleDocument, self).delete(*args, **kwargs) delete_file(self, 'file')
def delete(self, *args, **kwargs): super(Rect, self).delete(*args, **kwargs) delete_file(self, 'inset')
def delete(self, *args, **kwargs): super(CarouselImage, self).delete(*args, **kwargs) delete_file(self, 'picture')
def delete(self, *args, **kwargs): super(Recurso, self).delete(*args, **kwargs) delete_file(self, 'imagen') delete_file(self, 'archivo')
def delete(self, *args, **kwargs): super(Photo, self).delete(*args, **kwargs) delete_file(self, 'image')
def delete(self, *args, **kwargs): super(File, self).delete(*args, **kwargs) delete_file(self, 'file')
def delete(self, *args, **kwargs): super().delete(*args, **kwargs) delete_file(self, "file")
def delete(self, *args, **kwargs): super(ArchivoAdjunto, self).delete(*args, **kwargs) delete_file(self, 'archivo')
def delete(self, *args, **kwargs): super(VegaChessEntry, self).delete(*args, **kwargs) delete_file(self, 'entry')
def delete(self, *args, **kwargs): super(Attachment, self).delete(*args, **kwargs) delete_file(self, "menufile")
def delete(self, *args, **kwargs): super(Officer, self).delete(*args, **kwargs) delete_file(self, 'picture')