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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

Supported by

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