mirror of
https://github.com/pretix/pretix.git
synced 2026-04-28 00:02:37 +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``
|
||||
and looks like this::
|
||||
|
||||
from pretix.celery import app
|
||||
from pretix.celery_app import app
|
||||
|
||||
@app.task
|
||||
def my_task(argument1, argument2):
|
||||
|
||||
Reference in New Issue
Block a user