Metadata-Version: 1.1
Name: django-maintenance-in-progress
Version: 0.1
Summary: Intercept possible 500 errors when site maintenance is in progress and display a friendly page.
Home-page: http://github.com/praekelt/django-maintenance-in-progress
Author: Hedley Roos
Author-email: hedleyroos@gmail.com
License: BSD
Description: Django Maintenance in Progress
        ==============================
        **Intercept possible 500 errors when site maintenance is in progress and display a friendly page.**
        
        .. figure:: https://travis-ci.org/praekelt/django-maintenance-in-progress.svg?branch=develop
           :align: center
           :alt: Travis
        
        Overview
        --------
        
        During system maintenance some pages may produce errors due to eg. database upgrades. A blanket rule
        would take down the entire site, which is naturally undesirable. ``maintenance_in_progress`` only displays
        a maintenance message when a 500 error is encountered during the maintenance window.
        
        Installation
        ------------
        
        #. Install or add ``django-maintenance-in-progress`` to your Python path.
        
        #. Add ``maintenance_in_progress`` to your ``INSTALLED_APPS`` setting.
        
        #. Set ``handler500 = 'maintenance_in_progress.views.server_error'`` in ``urls.py``.
        
        
        Usage
        -----
        
        Admin has a ``Maintenance In Progress Preferences`` link where you can choose to indicate
        maintenance is in progress either by a flag in the database or by creating a file on the
        filesystem.
        
        Authors
        =======
        
        Praekelt Foundation
        -------------------
        
        * Hedley Roos
        
        Changelog
        =========
        
        0.1
        ---
        #. Initial release.
        
        
Platform: UNKNOWN
Classifier: Programming Language :: Python
Classifier: License :: OSI Approved :: BSD License
Classifier: Development Status :: 4 - Beta
Classifier: Operating System :: OS Independent
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
