feat: Add basic celery config
This commit is contained in:
6
src/fellchensammlung/tasks.py
Normal file
6
src/fellchensammlung/tasks.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from notfellchen.celery import app as celery_app
|
||||
from .tools.admin import clean_locations
|
||||
|
||||
@celery_app.task(name="admin.clean_locations")
|
||||
def task_clean_locations():
|
||||
clean_locations()
|
Reference in New Issue
Block a user