- define gnuviechadmin.settins.base.CELERY_ROUTES to properly route ldap tasks - return dummy values from osusers.tasks - add billiard, kombu and pytz to requirements/base.txt
14 lines
221 B
Python
14 lines
221 B
Python
from __future__ import absolute_import
|
|
|
|
from celery import shared_task
|
|
|
|
|
|
@shared_task
|
|
def create_ldap_group(group):
|
|
return group.groupname
|
|
|
|
|
|
@shared_task
|
|
def create_ldap_user(user, password):
|
|
return user.username
|