···11+{ lib, buildPythonPackage, fetchPypi, django }:22+33+buildPythonPackage rec {44+ pname = "django-sites";55+ name = "${pname}-${version}";66+ version = "0.9";77+88+ meta = {99+ description = ''1010+ Alternative implementation of django "sites" framework1111+ based on settings instead of models.1212+ '';1313+ homepage = https://github.com/niwinz/django-sites;1414+ license = lib.licenses.bsd3;1515+ };1616+1717+ src = fetchPypi {1818+ inherit pname version;1919+ sha256 = "05nrydk4a5a99qrxjrcnacs8nbbq5pfjikdpj4w9yn5yfayp057s";2020+ };2121+2222+ propagatedBuildInputs = [ django ];2323+2424+ # 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.2525+ doCheck = false;2626+}