Skip to main content

Fixed a bug with BooleanField for django 1.6

Project description

=====
Offline
=====

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

Installation
------------

django-offline works with python >= 2.5 and django >= 1.2

Recommended way to install is by using pip as below:

pip install django-offline

Quick start
-----------

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

INSTALLED_APPS = (
...
'offline',
)

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

MIDDLEWARE_CLASSES = (
...
'offline.middleware.OfflineMiddleware',
)


3. Run `python manage.py syncdb` to create the polls models.

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.

Project details


Download files

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

Source Distribution

django-offline-0.2.tar.gz (4.0 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page