{ "info": { "author": "Mariano Ruiz", "author_email": "mrsarm@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Django Common Context Processors\r\n================================\r\n\r\nDjango Common Context Processors provides useful shortcuts\r\nfor developing Django projects.\r\n\r\nTo use it, put in ``TEMPLATE_CONTEXT_PROCESSORS``:\r\n\r\n.. code:: python\r\n\r\n TEMPLATE_CONTEXT_PROCESSORS = (\r\n #...\r\n 'common_context.context_processors.site',\r\n 'common_context.context_processors.settings',\r\n #...\r\n\r\nIf you use Django 1.8+, set the ``context_processors`` option in\r\nthe ``OPTIONS`` of a ``DjangoTemplates`` backend instead (see\r\n`here `_).\r\n\r\nThen in any page if you need to print the *Site Name* use::\r\n\r\n {{ site.name }}\r\n\r\nOr if you need to get the value of a Django Settings parameter::\r\n\r\n {{ settings.ANY_SETTINGS_VALUE }}\r\n\r\n\r\nAbout\r\n-----\r\n\r\nThis sources are available in\r\nhttps://github.com/mrsarm/django-common-context\r\n\r\nAuthor: Mariano Ruiz \r\n\r\nLicense: LGPL-3 (C) 2014-2015", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/mrsarm/django-common-context/tarball/0.1.0", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/mrsarm/django-common-context", "keywords": "django", "license": "LGPL-3", "maintainer": "", "maintainer_email": "", "name": "django_common_context", "package_url": "https://pypi.org/project/django_common_context/", "platform": "any", "project_url": "https://pypi.org/project/django_common_context/", "project_urls": { "Download": "https://github.com/mrsarm/django-common-context/tarball/0.1.0", "Homepage": "http://github.com/mrsarm/django-common-context" }, "release_url": "https://pypi.org/project/django_common_context/0.1.0/", "requires_dist": null, "requires_python": null, "summary": "Django Common Context Processors", "version": "0.1.0" }, "last_serial": 1640536, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "5e72149992dc50aeca95961390a047c5", "sha256": "a353f64f28e85b6ee731d7e968f32f1d5f86681f2581a5fdf0a39f72111874db" }, "downloads": -1, "filename": "django_common_context-0.1.0.tar.gz", "has_sig": false, "md5_digest": "5e72149992dc50aeca95961390a047c5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16529, "upload_time": "2014-02-13T03:04:00", "url": "https://files.pythonhosted.org/packages/b2/73/408b68df5a1dfaec92424d1205f8a47027825b0e3529cc4e7008d27b14ad/django_common_context-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5e72149992dc50aeca95961390a047c5", "sha256": "a353f64f28e85b6ee731d7e968f32f1d5f86681f2581a5fdf0a39f72111874db" }, "downloads": -1, "filename": "django_common_context-0.1.0.tar.gz", "has_sig": false, "md5_digest": "5e72149992dc50aeca95961390a047c5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16529, "upload_time": "2014-02-13T03:04:00", "url": "https://files.pythonhosted.org/packages/b2/73/408b68df5a1dfaec92424d1205f8a47027825b0e3529cc4e7008d27b14ad/django_common_context-0.1.0.tar.gz" } ] }