django 3.1
python 3.9.6
...lib\site-packages\ldap3\core\server.py", line 118
try:
port = int(hostport) or port
except ValueError:
if log_enabled(ERROR):
log(ERROR, 'port <%s> must be an integer', port)
raise LDAPInvalidPortError('port must be an integer')
django 3.1 python 3.9.6 ...lib\site-packages\ldap3\core\server.py", line 118 try: port = int(hostport) or port except ValueError: if log_enabled(ERROR): log(ERROR, 'port <%s> must be an integer', port) raise LDAPInvalidPortError('port must be an integer')
settings: LDAP_SERVERS = [ { 'host': 'confidential', 'port': 389, #also tried init(389), still fails 'use_ssl': False, 'get_info': 'NONE', }, ]
class Login(View): template = 'login.html'