Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

Middleware that returns a fallback view when the URL matches anything that isnt specified>

Project description

Django Fallback View

Description

Middleware that returns a fallback view when the URL matches anything that isnt specified>

Installation

pip install django-fallback-view

Usage

# settings.py

FALLBACK_VIEW = "path.to.view.class.ViewClass"

MIDDLEWARE = [
    ...
    "fallback_view.middleware.FallbackViewMiddleware",
]

Project details


Download files

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

Files for django-fallback-view, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size django_fallback_view-0.2.0-py3-none-any.whl (4.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size django-fallback-view-0.2.0.tar.gz (3.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page