python39Packages.django-auth-ldap: add import check

This commit is contained in:
Sandro Jäckel 2021-08-26 19:06:32 +02:00
parent 78c8ad1f88
commit 594b2e7cd7
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -20,6 +20,8 @@ buildPythonPackage rec {
# django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings
doCheck = false;
pythonImportsCheck = [ "django_auth_ldap" ];
meta = with lib; {
description = "Django authentication backend that authenticates against an LDAP service";
homepage = "https://github.com/django-auth-ldap/django-auth-ldap";