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 details)

Uploaded Source

File details

Details for the file django-offline-0.2.tar.gz.

File metadata

  • Download URL: django-offline-0.2.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for django-offline-0.2.tar.gz
Algorithm Hash digest
SHA256 df0bd29914b642d63ab62f36a065b708ef303aa7f94ad6a35c0f445fbe0248d1
MD5 f4a9016267f8274fc8317e0a3bc6cbb6
BLAKE2b-256 ecef51bf98f8937aa7dd3cb8c540af49071a29ba2ac0bde4d5bc5fa13a6f2bdb

See more details on using hashes here.

Supported by

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