Django Maintain Notice
Project description
Installation
pip install django-maintain
Usage
# Django-Maintain Settings DJANGO_SITE_MAINTAIN = False # Default ``False``, Modify ``True`` when maintain DJANGO_SITE_MAINTAIN_NOTICE_URL = ''
Settings.py
# Use `MIDDLEWARE_CLASSES` prior to Django 1.10 MIDDLEWARE = [ ... # 'competion.middleware.SiteMaintainMiddleware', # hasattr(request, 'user') == False 'django.contrib.auth.middleware.AuthenticationMiddleware', 'competion.middleware.SiteMaintainMiddleware', # hasattr(request, 'user') == True ... ]
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
django-maintain-1.0.0.tar.gz
(1.8 kB
view details)
Built Distribution
File details
Details for the file django-maintain-1.0.0.tar.gz
.
File metadata
- Download URL: django-maintain-1.0.0.tar.gz
- Upload date:
- Size: 1.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8d6b5a32727f28e7e919ca5bfc94f4b3dbcb1c3ebbd5b32501709fbf2682ce0 |
|
MD5 | 398bde54746dcd42b02988efb3f9c696 |
|
BLAKE2b-256 | cfbcb0b071580cc56dcd1bded40c07e1a67f1d15a23540c2292d468f15beef55 |
File details
Details for the file django_maintain-1.0.0-py2.py3-none-any.whl
.
File metadata
- Download URL: django_maintain-1.0.0-py2.py3-none-any.whl
- Upload date:
- Size: 2.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0a07dae2745f7aea2301f6b10bccad434450a2ca2932f8c925c901b68dc25ad |
|
MD5 | bb142bea805b10a81afdd3af9656878f |
|
BLAKE2b-256 | 676713ca3d5fabdeff7b97323dc5abea085339898b8132f01a9d8d31b17b61d6 |