Skip to content

Commit

Permalink
Change Celery task to shared task
Browse files Browse the repository at this point in the history
  • Loading branch information
jbittel committed Nov 15, 2014
1 parent cfb61b5 commit 70c9deb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ldap_sync/tasks.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
from django.core.management import call_command

from celery import task
from celery import shared_task


@task
@shared_task
def syncldap():
"""
Call the appropriate management command to synchronize the LDAP users
Expand Down

0 comments on commit 70c9deb

Please sign in to comment.