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
File details
Details for the file django-fallback-view-0.2.0.tar.gz
.
File metadata
- Download URL: django-fallback-view-0.2.0.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00b7a3895bbfbd4ff4f8d2010fa6c84a568de5b400257a873afe355b1ef8edc4 |
|
MD5 | abc958c16b045fce6db8ea0071a8937a |
|
BLAKE2b-256 | cc807636093bbeb59058d41bde782f800994e6eb4e838fe89609551c7386db15 |
File details
Details for the file django_fallback_view-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: django_fallback_view-0.2.0-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ad8249d9794b4adc1adb2d68c2f949dec64176921b4c89f96b2b62265df02df |
|
MD5 | ad170a82f5fa51d9b7d64e9e156d21b0 |
|
BLAKE2b-256 | f2b978c6e06d777c15e68e7cf33acddbd449629db99ac8540f31f4125f75584a |