Fix relative import in signals causing broadcast failures

Changed relative import to absolute import in signals.py to prevent
"No module named 'schedule'" errors when broadcasting WebSocket events
from management commands.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
poduck
2025-12-25 14:47:42 -05:00
parent 464726ee3e
commit 8391ecbf88

View File

@@ -45,7 +45,7 @@ def broadcast_event_change_sync(event, update_type, changed_fields=None, old_sta
return
try:
from .consumers import broadcast_event_update
from smoothschedule.scheduling.schedule.consumers import broadcast_event_update
async_to_sync(broadcast_event_update)(
event,
update_type=update_type,