Metadata-Version: 1.1
Name: django-globals
Version: 0.3.0
Summary: Very simple application, that allow to define a thread specific global variables.
Home-page: http://github.com/svetlyak40wt/django-globals/
Author: Alexander Artemenko
Author-email: svetlyak.40wt@gmail.com
License: New BSD License
Description-Content-Type: UNKNOWN
Description: Django-globals
        --------------
        
        [![changelog](http://allmychanges.com/p/python/django-globals/badge)](http://allmychanges.com/p/python/django-globals/)
        
        Django-globals is a very simple application, that allow you to define
        thread specific global variables.
        
        It includes a middleware Global, which can be used to access to
        the current request and user, which is useful outside of a view when the "request" variable is not
        defined.
        
        ## Installation
        
        
        Install using pip
        
        ```
           pip install django_globals
        ```
        
        ## Configuration
        
        
        In your project's `settings.py`, add `django_globals.middleware.Global` to `MIDDLEWARE`
        (or `MIDDLEWARE_CLASSES` on Django < 1.10).
        
        ## Usage
        
        
        Now you can use `from django_globals import globals` and access to
        the `globals.request` and `globals.user` from anywhere.
        
        ## Help
        
        For more information see the documentation at:
        
        https://django-globals.readthedocs.io/
        
        If you have questions or have trouble using the app please file a bug report
        at:
        
        https://github.com/svetlyak40wt/django-globals/issues
        
Keywords: django apps
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Environment :: Plugins
Classifier: Framework :: Django
Classifier: Framework :: Django :: 1.8
Classifier: Framework :: Django :: 1.9
Classifier: Framework :: Django :: 1.10
Classifier: Framework :: Django :: 1.11
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Topic :: Software Development :: Libraries :: Python Modules
