Metadata-Version: 1.1
Name: pyramid_maintenance
Version: 0.2
Summary: pyramid_maintenance
Home-page: UNKNOWN
Author: Benoît Pineau
Author-email: beny@sickless.net
License: UNKNOWN
Description: pyramid_maintenance
        ===================
        
        :author: Benoît Pineau <beny@sickless.net>
        :date: 2014-02-12
        
        
        What is it
        ----------
        
        pyramid_maintenance is a pyramid tween.
        
        This tween gives you the possibility to put an application in maintenance mode (rendering only one specific template for all routes), but let a 'normal' access to your application for users who have specific permission(s).
        
        
        How to install it
        -----------------
        ::
        
            pip install pyramid_maintenance
        
        
        How to enable it
        ----------------
        
        If you want to enable pyramid_maintenance tween in your pyramid app, you have to add in your .ini file::
        
            pyramid.tweens = pyramid_maintenance.tween_maintenance
        
        
        And define the following settings::
        
            # List of permissions (separeted by comma, space, carriage return and/or new line).
            # The pyramid app isn't in maintenance mode for people who have one of these permissions.
            pyramid_maintenance.permissions = permission1, permission2
            # Relative path from defined template location directories.
            pyramid_maintenance.template = template.mako
        
        
        0.2
        ---
        
        -  Make you strictless on the .ini file
        -  Rename role into permission
        
        
        0.1
        ---
        
        -  Initial version
        
Keywords: web pyramid pylons
Platform: UNKNOWN
Classifier: Programming Language :: Python
Classifier: Framework :: Pyramid
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Application
