Move IcsCalendar to it's own file

This commit is contained in:
2025-01-04 18:57:31 +01:00
parent 5d0fc38107
commit 1887a2790f
5 changed files with 80 additions and 72 deletions

View File

@ -1,7 +1,8 @@
from django.db.models.base import post_save
from django.dispatch import receiver
from com.models import IcsCalendar, News
from com.calendar import IcsCalendar
from com.models import News
@receiver(post_save, sender=News, dispatch_uid="update_internal_ics")