Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
fun-apps / courses / tasks.py
Size: Mime:
# -*- coding: utf-8 -*-

from celery import shared_task

from django.core.management import call_command


@shared_task
def update_courses_meta_data(*args, **kwargs):
    """
    A task that serves as proxy to the management command.
    Can be used for instance when a signal is fired to update
    a single course or to run periodic tasks.
    """
    call_command('update_courses', *args, **kwargs)