sources/ldap: register ldap sources

This commit is contained in:
Jens Langhammer 2020-09-15 12:36:33 +02:00
parent c94added99
commit 683968c96e
1 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,5 @@
"""Passbook ldap app config""" """passbook ldap source config"""
from importlib import import_module
from django.apps import AppConfig from django.apps import AppConfig
@ -9,3 +10,6 @@ class PassbookSourceLDAPConfig(AppConfig):
name = "passbook.sources.ldap" name = "passbook.sources.ldap"
label = "passbook_sources_ldap" label = "passbook_sources_ldap"
verbose_name = "passbook Sources.LDAP" verbose_name = "passbook Sources.LDAP"
def ready(self):
import_module("passbook.sources.ldap.signals")