Import all ldap config classes in settings.py (#961)

* Import all ldap config classes in settings.py
* Add AUTH_LDAP_GROUP_TYPE example to readme

Signed-off-by: Mac Chaffee <machaffe@renci.org>
This commit is contained in:
Mac Chaffee
2022-08-24 18:00:08 -04:00
committed by GitHub
parent 9f017d03e6
commit dc6cbab501
2 changed files with 8 additions and 2 deletions

View File

@@ -18,7 +18,8 @@ data:
settings: |
import os
import socket
from django_auth_ldap.config import LDAPSearch
# Import all so that extra_settings works properly
from django_auth_ldap.config import *
def get_secret():
if os.path.exists("/etc/tower/SECRET_KEY"):