django-acsecure-0.1.3
توضیحات
Access Secure Django Middleware
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | django-acsecure-0.1.3 |
| نام | django-acsecure |
| نسخه کتابخانه | 0.1.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Xin Jin |
| ایمیل نویسنده | opposcript@gmail.com |
| آدرس صفحه اصلی | https://github.com/TrentaIcedCoffee/access-secure |
| آدرس اینترنتی | https://pypi.org/project/django-acsecure/ |
| مجوز | MIT |
[](https://badge.fury.io/py/django-acsecure)
# django-acsecure
Access Secure middleware for Django, for logging, anti-spamming and black/white list...
## Install
- Go to [https://logsecure.io](https://www.logsecure.io/), create an account and project. Remember project ID and keep project token in secret. (See [images below for details](#images))
- pip install django-acsecure
- In `settings.py`, put your project ID and Token, and put middleware in `MIDDLEWARE`
```python
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
<img alt="register.JPG" src="https://raw.githubusercontent.com/TrentaIcedCoffee/access-secure/master/images/register.JPG" width="600" />
### create project
<img alt="create-project.JPG" src="https://raw.githubusercontent.com/TrentaIcedCoffee/access-secure/master/images/create-project.JPG" width="600" />
### project ID and Token
<img alt="console.JPG" src="https://raw.githubusercontent.com/TrentaIcedCoffee/access-secure/master/images/console.JPG" width="600" />
نیازمندی
| مقدار | نام |
|---|---|
| ==3.2.3 | asgiref |
| ==2019.11.28 | certifi |
| ==3.0.4 | chardet |
| ==3.0.3 | Django |
| ==2.8 | idna |
| ==2019.3 | pytz |
| ==2.22.0 | requests |
| ==0.3.0 | sqlparse |
| ==1.25.8 | urllib3 |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.5 | Python |
نحوه نصب
نصب پکیج whl django-acsecure-0.1.3:
pip install django-acsecure-0.1.3.whl
نصب پکیج tar.gz django-acsecure-0.1.3:
pip install django-acsecure-0.1.3.tar.gz