dvadmin用来全局拦截指定请求方式及请求插件
Project description
dvadmin_celery_backend
介绍
dvadmin用来全局拦截指定请求方式及请求插件
安装包
使用pip安装软件包:
pip install dvadmin-request-intercept
在INSTALLED_APPS 中注册app
INSTALLED_APPS = [
...
'dvadmin_request_intercept',
]
在 application / settings.py 下添加配置
MIDDLEWARE = [
...
'dvadmin_request_intercept.middleware.RequestInterceptMiddleware',
]
在 application / settings.py 下注册插件
# dvadmin 插件
REGISTER_PLUGINS = (
...
"dvadmin_request_intercept"
)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for dvadmin-request-intercept-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3aee8fc62018871ecbf12548723541c7b95114b6bcfe3a5cf6a13047e0be4a9a |
|
MD5 | f30a05a02763eac812209514c1a0d9fa |
|
BLAKE2b-256 | 08c33c0593b8c4901e1abd0eac661e5dc2c0135743e5557d22dcab6328090c71 |
Close
Hashes for dvadmin_request_intercept-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d387c74d41200d9d860a113d4e09f49acc5be9c612ac915a2e1baf45ef83b54d |
|
MD5 | 6ebcbeea62a23709053d2ffdf77c2f0d |
|
BLAKE2b-256 | c13aac64e906ba4caa845e3cebf9aaf9d9ca6944fddc622be00829e73fb8659c |