Skip to main content

Django Wafris

Project description

Django Wafris

Installation

  1. Install django-wafris package
pip install django-wafris
  1. Add INSTALLED_APP in settings.py
INSTALLED_APPS = [
    ...
    "django.contrib.staticfiles",
    "django_wafris",
]
  1. Add MIDDLEWARE in settings.py
MIDDLEWARE = [
    "django_wafris.middleware.WafrisMiddleware",
    "django.middleware.security.SecurityMiddleware",
    ...
]
  1. Declare WAFRIS config in settings.py
WAFRIS = {
    "REDIS_URL": "redis://:password@host:port",
}

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_wafris-0.1.0.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

django_wafris-0.1.0-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file django_wafris-0.1.0.tar.gz.

File metadata

  • Download URL: django_wafris-0.1.0.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.5 Darwin/23.6.0

File hashes

Hashes for django_wafris-0.1.0.tar.gz
Algorithm Hash digest
SHA256 32d36c895945f0fe04e4b2ee9b1eff478e5ce92ecb589aaf49185d2d810e47a4
MD5 406bf4cd3ffc5d3decad90de01ec96bf
BLAKE2b-256 e2a605de7798d059ad900eb7094daedb9ad0b69afb2da6edad073c989ab763d3

See more details on using hashes here.

File details

Details for the file django_wafris-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: django_wafris-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.5 Darwin/23.6.0

File hashes

Hashes for django_wafris-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5c100267c94aaa037ee5a0b568dc519e194693cc509a36e30baf499ac01f4c44
MD5 20f169cecbc0a77ede67f042b28ff2e0
BLAKE2b-256 dec84addb72f64c8c6f26a35040b159320c957b712e9128eecb21d7f81516f5f

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