{ "info": { "author": "Saleem Latif", "author_email": "saleem_ee@hotmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Framework :: Django", "Framework :: Django :: 1.10", "Framework :: Django :: 1.11", "Framework :: Django :: 1.8", "Framework :: Django :: 1.9", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License (GPL)", "Natural Language :: English", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5" ], "description": "Django Theming\n==============\n\n.. image:: https://img.shields.io/pypi/v/djangotheming.svg\n :target: https://pypi.python.org/pypi/djangotheming/\n :alt: PyPI\n\n.. image:: https://travis-ci.org/saleem-latif/djangotheming.svg?branch=master\n :target: https://travis-ci.org/saleem-latif/djangotheming\n :alt: Travis\n\n.. image:: http://codecov.io/github/saleem-latif/djangotheming/coverage.svg?branch=master\n :target: http://codecov.io/github/saleem-latif/djangotheming?branch=master\n :alt: Codecov\n\n.. image:: https://img.shields.io/pypi/pyversions/djangotheming.svg\n :target: https://pypi.python.org/pypi/djangotheming/\n :alt: Supported Python versions\n\n.. image:: https://img.shields.io/github/license/saleem-latif/djangotheming.svg\n :target: https://github.com/saleem-latif/djangotheming/blob/master/LICENSE.txt\n :alt: License\n\nThe ``Django Theming`` is a standalone theming solution for django sites. You\ncan use it customize the look and feel of any of your django site.\n\nOverview\n--------\n\nDjango theming provides a way for django sites owners to customize the look\nand feel of django sites without having to alter the code of the base site.\n\n\nInstallation\n------------\n\nInstall using pip:\n\n.. code-block:: sh\n\n pip install djangotheming\n\nUsage\n-----\n\nAdd ``'theming'`` to your ``INSTALLED_APPS``.\n\n.. code-block:: python\n\n INSTALLED_APPS = [\n ...\n 'theming',\n ]\n\nAdd ``'django.contrib.sites.middleware.CurrentSiteMiddleware'``,\n``'theming.middleware.CurrentRequestMiddleware'`` and\n``'theming.middleware.CurrentThemeMiddleware'`` to your ``MIDDLEWARE``\n\nAdd ``theming.template.loaders.theme.Loader`` to your ``'TEMPLATES['OPTIONS']['loaders']'``\n\n.. code-block:: python\n\n TEMPLATES = [\n {\n 'BACKEND': 'django.template.backends.django.DjangoTemplates',\n 'DIRS': [os.path.join(BASE_DIR, 'templates')]\n ,\n 'APP_DIRS': False,\n 'OPTIONS': {\n 'loaders': [\n 'theming.template.loaders.theme.Loader',\n 'django.template.loaders.app_directories.Loader',\n ],\n 'context_processors': [\n 'django.template.context_processors.debug',\n 'django.template.context_processors.request',\n 'django.contrib.auth.context_processors.auth',\n 'django.contrib.messages.context_processors.messages',\n ],\n },\n },\n ]\n\n\nSet ``'theming.static.storage.ThemeStorage'`` as your ``'STATICFILES_STORAGE'``\n\n.. code-block:: python\n\n STATICFILES_STORAGE = \"theming.static.storage.ThemeStorage\"\n\n\nAdd ``'theming.static.finders.ThemeFilesFinder'`` to your ``'STATICFILES_FINDERS'``\n\n.. code-block:: python\n\n STATICFILES_FINDERS = (\n 'theming.static.finders.ThemeFilesFinder',\n 'django.contrib.staticfiles.finders.FileSystemFinder',\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder',\n\n )\n\n\nFinally, Set the ``'THEMING'`` setting to something like.\n\n.. code-block:: python\n\n # Theming settings.\n\n THEMING = {\n 'ENABLED': True,\n 'DEFAULT': '',\n 'DIRS': [\n\n os.path.join()\n\n ],\n\n }\n\n\nLicense\n-------\n\nThe code in this repository is licensed under the GNU GENERAL PUBLIC LICENSE Version 3 unless otherwise noted.\n\nPlease see ``LICENSE`` for details.\n\nHow To Contribute\n-----------------\n\nContributions are very welcome.\n\nI will add info on how to contribute soon.\n\nReporting Security Issues\n-------------------------\n\nPlease do not report security issues in public. Please email saleem_ee@hotmail.com.\n\n\nChange Log\n==========\n\n..\n All enhancements and patches to theming will be documented\n in this file. It adheres to the structure of http://keepachangelog.com/ ,\n but in reStructuredText instead of Markdown (for ease of incorporation into\n Sphinx documentation and the PyPI description).\n\n This project adheres to Semantic Versioning (http://semver.org/).\n\n..\n\n\n[0.1.0] - 2016-10-13\n--------------------\n\n* First release on PyPI.\n* Models and Django admin integration", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/saleem-latif/djangotheming", "keywords": "Django Theming", "license": "GPL 3.0", "maintainer": "", "maintainer_email": "", "name": "djangotheming", "package_url": "https://pypi.org/project/djangotheming/", "platform": "", "project_url": "https://pypi.org/project/djangotheming/", "project_urls": { "Homepage": "https://github.com/saleem-latif/djangotheming" }, "release_url": "https://pypi.org/project/djangotheming/2.0.1/", "requires_dist": null, "requires_python": "", "summary": "Complete solution for theming your django site.", "version": "2.0.1" }, "last_serial": 5917993, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "f4de255ad4f2ddd0918a39dca747ac3e", "sha256": "4d8713ff2bac8893683381b454322bd79a7e1832c5f587759df2ce6c1bf68b92" }, "downloads": -1, "filename": "djangotheming-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f4de255ad4f2ddd0918a39dca747ac3e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 14463, "upload_time": "2018-03-05T11:21:04", "url": "https://files.pythonhosted.org/packages/c5/70/8d7d8a202661ca8f8bf3c217e0e1f9c3fc36c7e875de998a92052a00137c/djangotheming-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d80516995c28e2edb0fadf469d7c99d1", "sha256": "10cdac419942c2254814e5cc4717a7444a344795227484aedf71000672adf96d" }, "downloads": -1, "filename": "djangotheming-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "d80516995c28e2edb0fadf469d7c99d1", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 14456, "upload_time": "2018-03-05T11:21:06", "url": "https://files.pythonhosted.org/packages/50/59/602fd31ab92d7f3635bb6c30838fca50a6a70f1ee8c5b9bcf65c9d6227f1/djangotheming-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "93564d88a3163859e42b821f8ef17a84", "sha256": "fe45dd68d276a2c825f07e1f296083128a32d02a0c6d107fa496de03d60edf85" }, "downloads": -1, "filename": "djangotheming-0.1.0.tar.gz", "has_sig": false, "md5_digest": "93564d88a3163859e42b821f8ef17a84", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11300, "upload_time": "2019-10-02T13:45:34", "url": "https://files.pythonhosted.org/packages/42/d3/62584c9cca612c40b8a5a339d79ba0eb1e694eef3c13c104d43d9f05a707/djangotheming-0.1.0.tar.gz" } ], "2.0.1": [ { "comment_text": "", "digests": { "md5": "05b6383fcd43249f998ca0adce4013ab", "sha256": "5c8c94c32f617a56b26c4ca7993ea57191b7b92e28f38d1e82205b62308a61f7" }, "downloads": -1, "filename": "djangotheming-2.0.1.tar.gz", "has_sig": false, "md5_digest": "05b6383fcd43249f998ca0adce4013ab", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11255, "upload_time": "2019-10-02T13:45:38", "url": "https://files.pythonhosted.org/packages/5c/6c/15a231653772ec34984aef386e48c81a00c6c5f11a1da94bcbc8df720984/djangotheming-2.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "05b6383fcd43249f998ca0adce4013ab", "sha256": "5c8c94c32f617a56b26c4ca7993ea57191b7b92e28f38d1e82205b62308a61f7" }, "downloads": -1, "filename": "djangotheming-2.0.1.tar.gz", "has_sig": false, "md5_digest": "05b6383fcd43249f998ca0adce4013ab", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11255, "upload_time": "2019-10-02T13:45:38", "url": "https://files.pythonhosted.org/packages/5c/6c/15a231653772ec34984aef386e48c81a00c6c5f11a1da94bcbc8df720984/djangotheming-2.0.1.tar.gz" } ] }