from celery.app import task from fuadmin.celery import app @app.task(name="system.tasks.test_task") def test_task(): print('test')