sources/ldap: register ldap sources
This commit is contained in:
parent
c94added99
commit
683968c96e
|
@ -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")
|
||||||
|
|
Reference in a new issue