mirror of
https://github.com/pretix/pretix.git
synced 2026-08-26 13:14:40 +00:00
Fix import of celery app in documentation (#596)
This commit is contained in:
committed by
Raphael Michel
parent
584add97a3
commit
2bf4e6c5c6
@@ -14,7 +14,7 @@ Implementing a task
|
|||||||
A common pattern for implementing asynchronous tasks can be seen a lot in ``pretix.base.services``
|
A common pattern for implementing asynchronous tasks can be seen a lot in ``pretix.base.services``
|
||||||
and looks like this::
|
and looks like this::
|
||||||
|
|
||||||
from pretix.celery import app
|
from pretix.celery_app import app
|
||||||
|
|
||||||
@app.task
|
@app.task
|
||||||
def my_task(argument1, argument2):
|
def my_task(argument1, argument2):
|
||||||
|
|||||||
Reference in New Issue
Block a user