Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dvadmin-request-intercept-1.0.0.tar.gz (2.8 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page