Base setup
This commit is contained in:
4
crawler_project/__init__.py
Normal file
4
crawler_project/__init__.py
Normal file
@@ -0,0 +1,4 @@
|
||||
# 这将确保Celery应用在Django启动时被加载
|
||||
from .celery import app as celery_app
|
||||
|
||||
__all__ = ('celery_app',)
|
||||
Reference in New Issue
Block a user