Skip to main content

A simple Django app to switch your Django project between offline/online mode and display a 503 error page, while your django site is offline (under maintenance)

Project description


Offline is a simple Django app to put a Django Web application under
maintenance/offline mode using a simple interface under admin login.

Quick start

1. Add "offline" to your INSTALLED_APPS setting like this:


2. Add the OfflineMiddleware to MIDDLEWARE_CLASSES list
(after SessionMiddleware and AuthenticationMiddleware) in
file of your project:


3. Run `python syncdb` to create models for storing application status.

4. Visit the admin site to set your Web application to offline mode by
setting offline flag (you'll need the Admin app enabled).

5. You can customize the message shown on the website while the web application is in offline mode.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
django-offline-0.1.tar.gz (4.0 kB) Copy SHA256 hash SHA256 Source None Sep 14, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page