Commit Graph

3 Commits

Author SHA1 Message Date
朱潮
c4eaeb6499 修复Celery递归调用错误
- 移除Django应用配置中的手动任务注册
- 使用Celery的imports配置确保任务模块被导入
- 避免在ready()方法中访问Celery应用
- 使用Celery的自动发现机制处理任务注册

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-31 01:33:18 +08:00
朱潮
dea3454011 修复Django应用启动时的导入错误
- 在knowledge/apps.py的ready()方法中注册Celery任务
- 移除ops/__init__.py中的直接导入,避免循环依赖
- 简化tasks/__init__.py,使用延迟导入
- 解决"Apps aren't loaded yet"错误

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-31 01:25:16 +08:00
CaptainB
ec643fca7f feat: add initial model structure for knowledge management 2025-04-25 14:06:23 +08:00