django-forbidden-ip —
This is a django application to forbid access by IP address.
Install ===
pip install django-forbidden-ip
Config ===
Add ip_interceptor to INSTALLED_APPS.
Add ip_interceptor.middleware.IPInterceptorMiddleware to MIDDLEWARE.
Run ./manage.py make migrations and ./manage.py migrate.
Add IP you want to block to ForbiddenIP.
Release files for django-forbidden-ip 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-forbidden-ip-0.1.tar.gz | 2.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_forbidden_ip-0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.4 kB
Release files / django-forbidden-ip-0.1.tar.gz
| Download URL | django-forbidden-ip-0.1.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3a6a362a36838c315e0e3420c04ca3ca3b45eeea4438b991bb58b56e8ecadf02
|
|
BLAKE2b-256 checksum How to use checksums |
afb8690af9868ab29645ceac22287277e51204dcb33c5140934d351a8f3bc432
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / django_forbidden_ip-0.1-py3-none-any.whl
| Download URL | django_forbidden_ip-0.1-py3-none-any.whl |
|---|---|
| Size | 2.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
53a3df724433214884f7a77b069e73a7ddfa724fcdf0356e2f78c7d30a86e2b1
|
|
BLAKE2b-256 checksum How to use checksums |
9077668f05848e866d48416cad6a0271cf62683a1cfbb160d95ea434b4e4bcce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|