From 683968c96e958fa363e83bf2ec2417be809cfcd6 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Tue, 15 Sep 2020 12:36:33 +0200 Subject: [PATCH] sources/ldap: register ldap sources --- passbook/sources/ldap/apps.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/passbook/sources/ldap/apps.py b/passbook/sources/ldap/apps.py index b755bdd6e..8a0cc79e7 100644 --- a/passbook/sources/ldap/apps.py +++ b/passbook/sources/ldap/apps.py @@ -1,4 +1,5 @@ -"""Passbook ldap app config""" +"""passbook ldap source config""" +from importlib import import_module from django.apps import AppConfig @@ -9,3 +10,6 @@ class PassbookSourceLDAPConfig(AppConfig): name = "passbook.sources.ldap" label = "passbook_sources_ldap" verbose_name = "passbook Sources.LDAP" + + def ready(self): + import_module("passbook.sources.ldap.signals")