Issue #57, convert installation app to use celery
This commit is contained in:
9
mayan/apps/installation/tasks.py
Normal file
9
mayan/apps/installation/tasks.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from mayan.celery import app
|
||||
|
||||
from .models import Installation
|
||||
|
||||
|
||||
@app.task
|
||||
def task_details_submit():
|
||||
details = Installation.objects.get()
|
||||
details.submit()
|
||||
Reference in New Issue
Block a user