Skip to content
Snippets Groups Projects
Verified Commit dc1fa5b5 authored by Nik | Klampfradler's avatar Nik | Klampfradler Committed by Tom Teichler
Browse files

Let management command always run synchronously

parent 42232a5c
No related branches found
No related tags found
1 merge request!4Resolve "Mass import of users"
from django.core.management.base import BaseCommand
from ...tasks import ldap_import
from ...util.ldap_sync import mass_ldap_import
class Command(BaseCommand):
def handle(self, *args, **options):
ldap_import()
mass_ldap_import()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment