Skip to main content

IP forbidding utilities for Django2.0

Project description

django-forbidden-ip —

This is a django application to forbid access by IP address.

Install ===

pip install django-forbidden-ip

Config ===

  1. Add ip_interceptor to INSTALLED_APPS.

  2. Add ip_interceptor.middleware.IPInterceptorMiddleware to MIDDLEWARE.

  3. Run ./manage.py make migrations and ./manage.py migrate.

  4. Add IP you want to block to ForbiddenIP.

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-forbidden-ip-0.1.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_forbidden_ip-0.1-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file django-forbidden-ip-0.1.tar.gz.

File metadata

  • Download URL: django-forbidden-ip-0.1.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.5

File hashes

Hashes for django-forbidden-ip-0.1.tar.gz
Algorithm Hash digest
SHA256 3a6a362a36838c315e0e3420c04ca3ca3b45eeea4438b991bb58b56e8ecadf02
MD5 78113676ad595f1fd7b803879308c750
BLAKE2b-256 afb8690af9868ab29645ceac22287277e51204dcb33c5140934d351a8f3bc432

See more details on using hashes here.

File details

Details for the file django_forbidden_ip-0.1-py3-none-any.whl.

File metadata

  • Download URL: django_forbidden_ip-0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.5

File hashes

Hashes for django_forbidden_ip-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 53a3df724433214884f7a77b069e73a7ddfa724fcdf0356e2f78c7d30a86e2b1
MD5 8bfc7dfe32bef65152414cd3be8ac4ba
BLAKE2b-256 9077668f05848e866d48416cad6a0271cf62683a1cfbb160d95ea434b4e4bcce

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page