Django Inbound Rules is an app to allow or restrict IP's on specified urls based on CIDR blocks.
Project description
Django Inbound Rules
Description
Simple Paginator for Djnago templates
Installation
pip install django-inbound-rules
Quick start
-
Add "django_inbound" to your INSTALLED_APPS in settings.py like this::
INSTALLED_APPS = [ ... 'django_inbound', ... ]
-
Add "django_inbound.middleware.restrict_user_middleware" to your MIDDLEWARE in settings.py like this::
MIDDLEWARE = [ ... 'django_inbound.middleware.restrict_user_middleware', ... ]
-
Run
python manage.py migrate
to create the inbound rules models.
Licence
Copyright (c) 2020 Nilesh Kumar Dubey
This repository is licensed under the MIT license. See LICENSE for details
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django-inbound-rules-0.2.tar.gz
(11.3 kB
view hashes)
Built Distribution
Close
Hashes for django_inbound_rules-0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ddf8cc04d5c9cd8d1fa2c347e3f1bc6850fbfbd13995644350380bafd5a9a481 |
|
MD5 | 3beb19d73e3d35a18104f0b0e638b280 |
|
BLAKE2b-256 | 5f039f5a1d7cbf29d0023bf4f919e9da484e94a0317a154fb214c0d7c96b202a |