mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 01:20:40 +00:00
python39Packages.django-ipware: update meta, comment why imports check can't be done
This commit is contained in:
parent
c3d7b5cfc0
commit
62c18ce480
|
@ -4,12 +4,6 @@ buildPythonPackage rec {
|
|||
pname = "django-ipware";
|
||||
version = "4.0.0";
|
||||
|
||||
meta = {
|
||||
description = "A Django application to retrieve user's IP address";
|
||||
homepage = "https://github.com/un33k/django-ipware";
|
||||
license = lib.licenses.mit;
|
||||
};
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1294f916f3b3475e40e1b0ec1bd320aa2397978eae672721c81cbc2ed517e9ee";
|
||||
|
@ -19,4 +13,14 @@ buildPythonPackage rec {
|
|||
|
||||
# django.core.exceptions.ImproperlyConfigured: Requested setting IPWARE_TRUSTED_PROXY_LIST, 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 fails with:
|
||||
# django.core.exceptions.ImproperlyConfigured: Requested setting IPWARE_META_PRECEDENCE_ORDER, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.
|
||||
|
||||
meta = with lib; {
|
||||
description = "A Django application to retrieve user's IP address";
|
||||
homepage = "https://github.com/un33k/django-ipware";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue