معرفی شرکت ها


django-globals-0.3.2


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Very simple application, that allow to define a thread specific global variables.
ویژگی مقدار
سیستم عامل -
نام فایل django-globals-0.3.2
نام django-globals
نسخه کتابخانه 0.3.2
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Alexander Artemenko
ایمیل نویسنده svetlyak.40wt@gmail.com
آدرس صفحه اصلی http://github.com/svetlyak40wt/django-globals/
آدرس اینترنتی https://pypi.org/project/django-globals/
مجوز New BSD License
Django-globals -------------- |changelog| .. |changelog| image:: http://allmychanges.com/p/python/django-globals/badge :target: 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 .. code-block:: sh 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


نحوه نصب


نصب پکیج whl django-globals-0.3.2:

    pip install django-globals-0.3.2.whl


نصب پکیج tar.gz django-globals-0.3.2:

    pip install django-globals-0.3.2.tar.gz