pythonPackages.django-sites: init at 0.9
This commit is contained in:
parent
f69a072f5b
commit
e55f5fe4bc
26
pkgs/development/python-modules/django-sites/default.nix
Normal file
26
pkgs/development/python-modules/django-sites/default.nix
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
{ lib, buildPythonPackage, fetchPypi, django }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "django-sites";
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
version = "0.9";
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = ''
|
||||||
|
Alternative implementation of django "sites" framework
|
||||||
|
based on settings instead of models.
|
||||||
|
'';
|
||||||
|
homepage = https://github.com/niwinz/django-sites;
|
||||||
|
license = lib.licenses.bsd3;
|
||||||
|
};
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "05nrydk4a5a99qrxjrcnacs8nbbq5pfjikdpj4w9yn5yfayp057s";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ django ];
|
||||||
|
|
||||||
|
# django.core.exceptions.ImproperlyConfigured: Requested settings, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.
|
||||||
|
doCheck = false;
|
||||||
|
}
|
@ -8648,6 +8648,8 @@ in {
|
|||||||
|
|
||||||
django-sampledatahelper = callPackage ../development/python-modules/django-sampledatahelper { };
|
django-sampledatahelper = callPackage ../development/python-modules/django-sampledatahelper { };
|
||||||
|
|
||||||
|
django-sites = callPackage ../development/python-modules/django-sites { };
|
||||||
|
|
||||||
django_tagging = callPackage ../development/python-modules/django_tagging { };
|
django_tagging = callPackage ../development/python-modules/django_tagging { };
|
||||||
|
|
||||||
django_tagging_0_3 = self.django_tagging.overrideAttrs (attrs: rec {
|
django_tagging_0_3 = self.django_tagging.overrideAttrs (attrs: rec {
|
||||||
|
Loading…
Reference in New Issue
Block a user