This is django specific app for RedisSentry. For generic package, (which this app is dependent on) see redissentry-core.
Installation
settings.py:
MIDDLEWARE_CLASSES += (
'redissentry.middleware.RequestMiddleware',
)
INSTALLED_APPS += (
'redissentry',
)
Finetuning
settings.py:
RS_REDIS_HOST = 'localhost' RS_REDIS_PORT = 6379 RS_REDIS_PASSWORD = '' RS_REDIS_DB = 0 RS_FA_PER_IP = 5 # block ip after every N failed attempts RS_FA_PER_USERNAME = 5 # block username after every N failed attempts
Also the class structure is designed in such a way as to facilitate further finetuning through inheritance.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django-redissentry-0.2.0.zip
(20.9 kB
view details)
File details
Details for the file django-redissentry-0.2.0.zip.
File metadata
- Download URL: django-redissentry-0.2.0.zip
- Upload date:
- Size: 20.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
866d8606936495331ecbbcb73957d6f0c46d11bc877fa2e56a42ef26a1cad38b
|
|
| MD5 |
f8b5b42f478f0661c0057059b863efd1
|
|
| BLAKE2b-256 |
daa61762ea5e93769f4b6f24529a51fbb4c24df1b69697ed34b15bbd20c93f99
|