Skip to content
Snippets Groups Projects
Select Git revision
  • 031a68d017812b92d6b2a7419e10ab2858173b84
  • main default protected
  • cf2025
  • cf2024
  • cf2023-euro
  • cf2023-offline
6 results

index.js

Blame
  • tasks.py NaN GiB
    from celery import shared_task
    from celery.utils.log import get_task_logger
    
    logger = get_task_logger(__name__)
    
    
    @shared_task
    def update_calendar_source(calendar_id):
        from .models import Calendar  # noqa circular import
    
        cal = Calendar.objects.get(id=calendar_id)
        cal.update_source()