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.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00b7a3895bbfbd4ff4f8d2010fa6c84a568de5b400257a873afe355b1ef8edc4 |
|
MD5 | abc958c16b045fce6db8ea0071a8937a |
|
BLAKE2b-256 | cc807636093bbeb59058d41bde782f800994e6eb4e838fe89609551c7386db15 |
Close
Hashes for django_fallback_view-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ad8249d9794b4adc1adb2d68c2f949dec64176921b4c89f96b2b62265df02df |
|
MD5 | ad170a82f5fa51d9b7d64e9e156d21b0 |
|
BLAKE2b-256 | f2b978c6e06d777c15e68e7cf33acddbd449629db99ac8540f31f4125f75584a |