예제 #1
0
def delete_preview_files(pk, **kw):
    VersionPreview.delete_preview_files(
        sender=None, instance=VersionPreview.objects.get(pk=pk))
예제 #2
0
파일: tasks.py 프로젝트: eviljeff/olympia
def delete_preview_files(pk, **kw):
    VersionPreview.delete_preview_files(
        sender=None, instance=VersionPreview.objects.get(pk=pk))
예제 #3
0
def delete_preview_files(id, **kw):
    VersionPreview.delete_preview_files(sender=None,
                                        instance=VersionPreview(id=id))