Access Secure Django Middleware
Project description
django-acsecure
Access Secure middleware for Django, for logging, anti-spamming and black/white list...
Install
-
Go to https://logsecure.io, create an account and project. Remember project ID and keep project token in secret. (See images below for details)
-
pip install django-acsecure
-
In
settings.py
, put your project ID and Token, and put middleware inMIDDLEWARE
ACCESS_SECURE_APPID = 'my-app-id' ACCESS_SECURE_TOKEN = 'my-app-token' MIDDLEWARE = [ 'django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', ... 'acsecure.middleware.AccessSecureMiddleware', ]
Images
register
create project
project ID and Token
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-acsecure-0.1.1.tar.gz
(2.3 kB
view details)
File details
Details for the file django-acsecure-0.1.1.tar.gz
.
File metadata
- Download URL: django-acsecure-0.1.1.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6102309f3f598ea3be179e83845a87d5461c7f857154f1bdffeaab9331658eb4 |
|
MD5 | f2741f2e281f81c7fd119b9cdeb2ba06 |
|
BLAKE2b-256 | 179e876b134ef7a95d0600400b0362897ddc3217687a8232e1ad2f7a21171118 |