コード例 #1
0
 def delete(self, *args, **kwargs):
     super(Book, self).delete(*args, **kwargs)
     delete_file(self, 'index')
     delete_file(self, 'pages')
コード例 #2
0
 def delete(self, *args, **kwargs):
     """Override delete for deleting file from database"""
     super().delete(*args, **kwargs)
     delete_file(self, 'file')
コード例 #3
0
 def delete(self, *args, **kwargs):
     super(Resource, self).delete(*args, **kwargs)
     delete_file(self, 'link')
コード例 #4
0
 def delete(self, *args, **kwargs):
     delete_file(self, 'media_file')
     super(File, self).delete(*args, **kwargs)
コード例 #5
0
 def delete(self, *args, **kwargs):
     super(PDFDocument, self).delete(*args, **kwargs)
     delete_file(self, 'document')
コード例 #6
0
ファイル: models.py プロジェクト: winisz/db_file_storage
 def delete(self, *args, **kwargs):
     super(CD, self).delete(*args, **kwargs)
     delete_file(self, 'disc')
     delete_file(self, 'cover')
コード例 #7
0
 def delete(self, *args, **kwargs):
     super(OrganizationLogo, self).delete(*args, **kwargs)
     delete_file(self, 'image')
コード例 #8
0
 def delete(self, *args, **kwargs):
     super(Document, self).delete(*args, **kwargs)
     delete_file(self, 'marksmemo')
     delete_file(self, 'aadharcard')
     delete_file(self, 'projectfile')
コード例 #9
0
 def delete(self, *args, **kwargs):
     super(SingleDocument, self).delete(*args, **kwargs)
     delete_file(self, 'file')
コード例 #10
0
 def delete(self, *args, **kwargs):
     super(Rect, self).delete(*args, **kwargs)
     delete_file(self, 'inset')
コード例 #11
0
 def delete(self, *args, **kwargs):
     super(Book, self).delete(*args, **kwargs)
     delete_file(self, 'index')
     delete_file(self, 'pages')
コード例 #12
0
 def delete(self, *args, **kwargs):
     super(CarouselImage, self).delete(*args, **kwargs)
     delete_file(self, 'picture')
コード例 #13
0
 def delete(self, *args, **kwargs):
     super(Recurso, self).delete(*args, **kwargs)
     delete_file(self, 'imagen')
     delete_file(self, 'archivo')
コード例 #14
0
 def delete(self, *args, **kwargs):
     super(Photo, self).delete(*args, **kwargs)
     delete_file(self, 'image')
コード例 #15
0
ファイル: models.py プロジェクト: yadavnaman/Secure-Cloud
 def delete(self, *args, **kwargs):
     super(File, self).delete(*args, **kwargs)
     delete_file(self, 'file')
コード例 #16
0
ファイル: models.py プロジェクト: whitej6/nautobot
 def delete(self, *args, **kwargs):
     super().delete(*args, **kwargs)
     delete_file(self, "file")
コード例 #17
0
ファイル: models.py プロジェクト: MiguelFernandezz/is2-2015
 def delete(self, *args, **kwargs):
     super(ArchivoAdjunto, self).delete(*args, **kwargs)
     delete_file(self, 'archivo')
コード例 #18
0
 def delete(self, *args, **kwargs):
     super(VegaChessEntry, self).delete(*args, **kwargs)
     delete_file(self, 'entry')
コード例 #19
0
ファイル: models.py プロジェクト: rails-to-cosmos/force
 def delete(self, *args, **kwargs):
     super(Attachment, self).delete(*args, **kwargs)
     delete_file(self, "menufile")
コード例 #20
0
 def delete(self, *args, **kwargs):
     super(Officer, self).delete(*args, **kwargs)
     delete_file(self, 'picture')