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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for django-fallback-view-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73d3eec45659f2984499edf0594647429647add4166e592e0198cd6cfa17dca8 |
|
MD5 | f04f089964bb9c6ec29be6bcd76c7c97 |
|
BLAKE2b-256 | 8c093d0a07bca64b6e22f00e7ff8c604a3f5ecdea23223ecad2e1c784a7cb0a6 |
Close
Hashes for django_fallback_view-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6dee0954793177c05b187f6ebca4de380312c0fc0cfa5f04bf0c676376fd2488 |
|
MD5 | 027fe28ddd43d82b0790ffc552965b4a |
|
BLAKE2b-256 | 30855e8fa34e467c4b7acc3fe227cdde59c509b9a3ac2c92317c199994866973 |