Metadata-Version: 1.1
Name: django-ssl-admin
Version: 1.1
Summary: Django middleware to make the admin https only.
Home-page: http://dirtymonkey.co.uk/django-ssl-admin
Author: Matt Deacalion Stevens
Author-email: matt@dirtymonkey.co.uk
License: MIT
Description: ================
        django-ssl-admin
        ================
        .. image:: https://travis-ci.org/Matt-Stevens/django-ssl-admin.png?branch=master
            :target: https://travis-ci.org/Matt-Stevens/django-ssl-admin
            :alt: Build Status
        .. image:: https://coveralls.io/repos/Matt-Stevens/django-ssl-admin/badge.png?branch=master
            :target: https://coveralls.io/r/Matt-Stevens/Pomodoro-Calculator?branch=master
            :alt: Test Coverage
        .. image:: https://pypip.in/version/django-ssl-admin/badge.png
            :target: https://pypi.python.org/pypi/django-ssl-admin/
            :alt: Latest Version
        .. image:: https://pypip.in/wheel/django-ssl-admin/badge.png
            :target: https://pypi.python.org/pypi/django-ssl-admin/
            :alt: Wheel Status
        .. image:: https://pypip.in/license/django-ssl-admin/badge.png
            :target: https://pypi.python.org/pypi/django-ssl-admin/
            :alt: License
        
        Make the Django admin only available via https.
        Only for the very latest versions of Django (>= 1.7).
        
        Installation
        ------------
        You can install django-ssl-admin using pip::
        
            $ pip install django-ssl-admin
        
        And to enable you need to add it to MIDDLEWARE_CLASSES:
        
        .. code-block:: python
        
            MIDDLEWARE_CLASSES = (
                ...
                'ssladmin.middleware.SSLAdmin',
                ....
            )
        
        If your admin path is not `/admin/` you can change the `ADMIN_PATH` setting like so:
        
        .. code-block:: python
        
            ADMIN_PATH = '^/staff/'
        
        If you have a reverse proxy set up remember to let Django know how it can detect a secure connection, e.g.::
        
        .. code-block:: python
        
            SECURE_PROXY_SSL_HEADER = ('HTTP_X_SCHEME', 'https')
        
Keywords: django https secure admin ssl
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Operating System :: OS Independent
Classifier: Natural Language :: English
Classifier: Development Status :: 4 - Beta
Classifier: Framework :: Django
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware
