fnp
/
wolnelektury.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Tweaking texts in funding form
[wolnelektury.git]
/
apps
/
waiter
/
tasks.py
1
from celery.signals import task_postrun
2
from waiter.models import WaitedFile
3
4
5
def task_delete_after(task_id=None, **kwargs):
6
WaitedFile.objects.filter(task_id=task_id).delete()
7
task_postrun.connect(task_delete_after)