Skip to main content

No project description provided

Project description

django-front-door

Simple, easy to use, middleware to lock access to any django app based on request attributes.

Quick Start

Add FrontDoorMiddleware to your settings.MIDDLEWARE as first as possible.

MIDDLEWARE = (
     'front_door.middleware.FrontDoorMiddleware',
     'django.contrib.sessions.middleware.SessionMiddleware',
     'django.middleware.common.CommonMiddleware',
     'django.middleware.csrf.CsrfViewMiddleware',
     'django.contrib.auth.middleware.AuthenticationMiddleware',
     'django.contrib.messages.middleware.MessageMiddleware',
)

Configure

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-front-door-0.4.0.tar.gz (5.0 kB view details)

Uploaded Source

File details

Details for the file django-front-door-0.4.0.tar.gz.

File metadata

  • Download URL: django-front-door-0.4.0.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.2

File hashes

Hashes for django-front-door-0.4.0.tar.gz
Algorithm Hash digest
SHA256 fda6f67918474ac0251894443bedc0dd39bb33d27b09ba6c9e3c30a34044ea86
MD5 46b13076c3d93ce137d5bfacede1d3db
BLAKE2b-256 0887ab4b0c10146ed66eaedb88d9630e5d652f1f7c88d2fc016c9371c54f4441

See more details on using hashes here.

Supported by

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