Skip to main content

🛠️ Django Under Construction

Put your Django website "under construction" with a single setting.

PyPI Build Status

Example screenshot


Install

Install the package from pypi.

$ pip install django-underconstruction

Add django_underconstruction to your INSTALLED_APPS.

# settings.py

INSTALLED_APPS = [
    ...
    'django_underconstruction',
    ...
]

Add the UnderConstructionMiddleware middleware class to your MIDDLEWARE.

# settings.py

MIDDLEWARE = [
    ...
    'django_underconstruction.middleware.UnderConstructionMiddleware',
    ...
]

Once you set settings.UNDER_CONSTRUCTION to True the under construction page is shown.

# settings.py

UNDER_CONSTRUCTION = not DEBUG

Settings

Option Description Default
UNDER_CONSTRUCTION Whether the site is under construction. False
UNDER_CONSTRUCTION_TEMPLATE HTML template to show while under construction. 'django_underconstruction/construction.html'

License

Released under the MIT license.

Metadata

Release files for django-underconstruction 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-underconstruction 0.1.2
File Size Uploaded Provenance Actions
django-underconstruction-0.1.2.tar.gz 4.8 kB Without provenance Details for django-underconstruction-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-underconstruction 0.1.2
File Interpreter ABI Platform Actions
django_underconstruction-0.1.2-py3-none-any.whl Python 3 none any Details for django_underconstruction-0.1.2-py3-none-any.whl

Total release size: 11.2 kB

Release files / django-underconstruction-0.1.2.tar.gz

Download URL django-underconstruction-0.1.2.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
5ebe528b4ecf46c499647679a94da6f13c06f1355e5e1dadd5c4de6636e296a5
BLAKE2b-256 checksum
How to use checksums
5b3b7f31bfd7d2133798cd1a6c736715e5986a72eeca136158e0ac822b76dee7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.5

Release files / django_underconstruction-0.1.2-py3-none-any.whl

Download URL django_underconstruction-0.1.2-py3-none-any.whl
Size 6.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f56f7c68416f962511bb5bd43df488a2a1438905405913f95f7bf7722a5ec136
BLAKE2b-256 checksum
How to use checksums
4b2f8b13170e431e56d031aca6a2dabe6953cdf23e62e48a52b616bd6b5fbbd5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.5

Security for django-underconstruction 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page