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 details)

Uploaded Source

Built Distribution

File details

Details for the file dvadmin-request-intercept-1.0.0.tar.gz.

File metadata

  • Download URL: dvadmin-request-intercept-1.0.0.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.6 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.4

File hashes

Hashes for dvadmin-request-intercept-1.0.0.tar.gz
Algorithm Hash digest
SHA256 3aee8fc62018871ecbf12548723541c7b95114b6bcfe3a5cf6a13047e0be4a9a
MD5 f30a05a02763eac812209514c1a0d9fa
BLAKE2b-256 08c33c0593b8c4901e1abd0eac661e5dc2c0135743e5557d22dcab6328090c71

See more details on using hashes here.

File details

Details for the file dvadmin_request_intercept-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: dvadmin_request_intercept-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.6 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.4

File hashes

Hashes for dvadmin_request_intercept-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d387c74d41200d9d860a113d4e09f49acc5be9c612ac915a2e1baf45ef83b54d
MD5 6ebcbeea62a23709053d2ffdf77c2f0d
BLAKE2b-256 c13aac64e906ba4caa845e3cebf9aaf9d9ca6944fddc622be00829e73fb8659c

See more details on using hashes here.

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