pythonPackages.django-dynamic-preferences: init at 1.7.1

This commit is contained in:
Henri Bourcereau 2019-09-23 12:20:13 +02:00 committed by worldofpeace
parent b63651963f
commit 9e0e61a912
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,25 @@
{ stdenv, buildPythonPackage, fetchPypi
, django, persisting-theory, six
}:
buildPythonPackage rec {
pname = "django-dynamic-preferences";
version = "1.7.1";
src = fetchPypi {
inherit pname version;
sha256 = "1z2dndkpypk4pvb0byh5a771vgp50vn8g1rbk5r3sml6dm4wcn7s";
};
propagatedBuildInputs = [ six django persisting-theory ];
# django.core.exceptions.ImproperlyConfigured: Requested setting DYNAMIC_PREFERENCES, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings
doCheck = false;
meta = with stdenv.lib; {
homepage = https://github.com/EliotBerriot/django-dynamic-preferences;
description = "Dynamic global and instance settings for your django project";
license = licenses.bsd3;
maintainers = with maintainers; [ mmai ];
};
}

View file

@ -2927,6 +2927,8 @@ in {
django-discover-runner = callPackage ../development/python-modules/django-discover-runner { };
django-dynamic-preferences = callPackage ../development/python-modules/django-dynamic-preferences { };
django_environ = callPackage ../development/python-modules/django_environ { };
django_evolution = callPackage ../development/python-modules/django_evolution { };