Metadata-Version: 1.1
Name: django-glrm
Version: 1.1.3
Summary: A Django middleware that make all views and URLs login required.
Home-page: UNKNOWN
Author: M.A. Heshmatkhah
Author-email: maheshmatkhah.prg@gmail.com
License: Apache Software License
Project-URL: Source, https://github.com/MA-Heshmatkhah/django-glrm/
Project-URL: Documentation, http://django-glrm.readthedocs.io/
Project-URL: Tracker, https://github.com/MA-Heshmatkhah/django-glrm/issues
Description: ====================================================
        Django Global Login Required Middleware |Doc_Badge|_
        ====================================================
        
        Django Global Login Required Middleware (django-glrm) is a Django middleware that make all views and URLs login required.
        
        It's common in Django that most of the site's pages are protected, with just a few exceptions of pages that remain public (e.g. login page, etc.).
        It can be quite tedious to decorate all of the views with ``@login_required``, and it can be easy to forget to decorate some of them.
        
        So, you can use **Django Global Login Required Middleware** to make all page login required excep some of them.
        
        Documentation_ is avalible at `Read The Docs <http://django-glrm.readthedocs.io/>`_.
        
        Quick start
        -----------
        
        1. Install Django Global Login Required Middleware::
        
            $ pip install django-glrm
        
        2. Add "global_login_required.GlobalLoginRequiredMiddleware" to your MIDDLEWARE setting like this::
        
            MIDDLEWARE = [
                ...
                'global_login_required.GlobalLoginRequiredMiddleware',
            ]
        
        3. Start the development server and visit http://127.0.0.1:8000/, 
        now all your pages are login required and you will see the login page.
        
        .. |Doc_Badge| image:: https://readthedocs.org/projects/django-glrm/badge/?version=latest
        .. _Doc_Badge: http://django-glrm.readthedocs.io/
        .. _Documentation: http://django-glrm.readthedocs.io/
Platform: UNKNOWN
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Framework :: Django :: 1.10
Classifier: Framework :: Django :: 1.11
Classifier: Framework :: Django :: 2.0
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
