{ "info": { "author": null, "author_email": null, "bugtrack_url": null, "classifiers": [], "description": "Django Gizmo\n============\n**Django app allowing for configurable targetting of template inclusion tags.**\n\nInstallation\n------------\n\n#. Add ``gizmo`` to your ``INSTALLED APPS`` setting.\n\n#. Add ``ROOT_GIZMOCONF`` value to your projects settings file. This specifies the module in which your configured your gizmos, i.e.::\n \n ROOT_GIZMOCONF = 'project.gizmos'\n\n In this case we have a module called ``project`` containing a ``gizmos.py`` file.\n\n#. Create your gizmos config (in this cased named ``gizmos.py``) file in the form::\n\n gizmos = (\n ('', '', '', [[', ]]),\n )\n\nWith:\n\n* ```` being the name you would normally pass to Django's load tag, i.e. ``myapp_inclusion_tags`` for ``{% load myapp_inclusion_tags %}``.\n* ```` being the name of the tag you want to include, i.e. ``advert`` for ``{% advert %}``.\n* ```` being the name of the slot you want the tag to show up in, i.e. ``home``.\n* ```` *optional* being the names of the urls you want the tag to show up in, i.e. ``home``.\n\nUsage\n-----\n\nGizmos are stock standard Django inclusion tags. The only diffirence is that instead of specifying tags within a template you specify tags from a distance by using a gizmo conf file in conjunction with the ``gizmos`` tag.\n\nFor example, lets say we have an ``advert`` tag specified in ``myapp``'s inclusion tags which we only want to call in the gizmo slot named ``advert`` for the url named ``home``:\n\n#. Create your tags as normal.\n\n#. Create your gizmos config file in the form::\n\n gizmos = (\n ('myapp_inclusion_tag', 'advert', 'advert', ['home', ]),\n )\n\n#. In your template for the home view load the gizmo inclusion tags and include a gizmos tag with a slot name of advert::\n\n {% load gizmo_inclusion_tags %}\n\n ...some html...\n\n {% gizmos 'home_advert' %}\n\n ...some more html...\n\n", "description_content_type": null, "docs_url": null, "download_url": null, "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": null, "keywords": null, "license": null, "maintainer": null, "maintainer_email": null, "name": "django-gizmo", "package_url": "https://pypi.org/project/django-gizmo/", "platform": null, "project_url": "https://pypi.org/project/django-gizmo/", "project_urls": null, "release_url": "https://pypi.org/project/django-gizmo/0.0.4/", "requires_dist": null, "requires_python": null, "summary": null, "version": "0.0.4" }, "last_serial": 4624042, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "de2fd9b41bc6ec16d636a6751661db8c", "sha256": "2118615786b205dbd5b0734c2c57cf23f7e40d938fac642af827b99f23d740b0" }, "downloads": -1, "filename": "django_gizmo-0.0.1-py2.6.egg", "has_sig": false, "md5_digest": "de2fd9b41bc6ec16d636a6751661db8c", "packagetype": "bdist_egg", "python_version": "2.6", "requires_python": null, "size": 12231, "upload_time": "2010-08-03T11:20:47", "url": "https://files.pythonhosted.org/packages/80/6a/48d7dc258bf1862ce6dda51a3481aff0e311b595c976c55237ea0b9d67cc/django_gizmo-0.0.1-py2.6.egg" }, { "comment_text": "", "digests": { "md5": "1c4e8af3bf37923261abad84c5ea3bb7", "sha256": "ac32a6ab86bcc79a0f7884a564d56306ff72440466e323fc9367bbd744b04e4b" }, "downloads": -1, "filename": "django-gizmo-0.0.1.tar.gz", "has_sig": false, "md5_digest": "1c4e8af3bf37923261abad84c5ea3bb7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5606, "upload_time": "2010-08-03T11:20:41", "url": "https://files.pythonhosted.org/packages/b4/9b/9d4d4a57a3a6fa6bf9e0084202b1ebaf1400f2f3605af4e96e7c447b788b/django-gizmo-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "6b7668789e43e417b36adbf0bea107f5", "sha256": "25f85712c6002186090664401021aebf3d26c1941b870691b73577970be3067b" }, "downloads": -1, "filename": "django_gizmo-0.0.2-py2.6.egg", "has_sig": false, "md5_digest": "6b7668789e43e417b36adbf0bea107f5", "packagetype": "bdist_egg", "python_version": "2.6", "requires_python": null, "size": 12370, "upload_time": "2011-08-11T09:42:39", "url": "https://files.pythonhosted.org/packages/08/d3/4ff17be3789d494cbd803fdf7e8adeac3b9f6e22feccb436a59c158fdaea/django_gizmo-0.0.2-py2.6.egg" }, { "comment_text": "", "digests": { "md5": "8a3e381012c5dfd919962188b71f7720", "sha256": "3d54412ab9819d6eea4070761137fefec93859cc0afc2eb5be1754d6b37acd98" }, "downloads": -1, "filename": "django_gizmo-0.0.2-py2.7.egg", "has_sig": false, "md5_digest": "8a3e381012c5dfd919962188b71f7720", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 12307, "upload_time": "2011-08-11T09:42:08", "url": "https://files.pythonhosted.org/packages/20/3c/5614e72355453a83afa740bd7a74e29810fbb6f3aa7c4527a55ec0370378/django_gizmo-0.0.2-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "a41d26970411aa18fc3ba1a6a02c447b", "sha256": "76449438c7dcb2961747e1839bbbdbae0b3b3ce3da8bc81b9cbe1a367a52014b" }, "downloads": -1, "filename": "django-gizmo-0.0.2.tar.gz", "has_sig": false, "md5_digest": "a41d26970411aa18fc3ba1a6a02c447b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5662, "upload_time": "2011-08-11T09:42:09", "url": "https://files.pythonhosted.org/packages/f2/0b/21452e7da8c50c59b50bff43408b52dfe0b526edce2056e50bb6732063b9/django-gizmo-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "53586acbdefcbbd09c759354012428de", "sha256": "d403bc97cd3027010eda8f737cfed71b87d98d4fc85d68e05deed4c435855b80" }, "downloads": -1, "filename": "django_gizmo-0.0.3-py2.6.egg", "has_sig": false, "md5_digest": "53586acbdefcbbd09c759354012428de", "packagetype": "bdist_egg", "python_version": "2.6", "requires_python": null, "size": 12639, "upload_time": "2012-05-08T11:06:19", "url": "https://files.pythonhosted.org/packages/ef/86/17e328cb1d1a7555c23ea2d8dbf94ea109f92ace7fc788d64fef652d0163/django_gizmo-0.0.3-py2.6.egg" }, { "comment_text": "", "digests": { "md5": "8aea7bb473c2f6cfdf6a14ae78d547c2", "sha256": "98ef49d0f4eaadc6f00971726acf05e1c0fb59afd03567466671c0568ffe6dc1" }, "downloads": -1, "filename": "django_gizmo-0.0.3-py2.7.egg", "has_sig": false, "md5_digest": "8aea7bb473c2f6cfdf6a14ae78d547c2", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 12578, "upload_time": "2012-05-08T11:07:43", "url": "https://files.pythonhosted.org/packages/3b/9f/8262ebbc91c4e9d033720ebcc189628fc6c054621a91fe9ae80380277a6f/django_gizmo-0.0.3-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "fbb673451c87437cbb0d9314ddd772f9", "sha256": "ef6c51ef3b862b61b0cb1bb06c438461dcdf4be23f37023c172657b4e1322a3e" }, "downloads": -1, "filename": "django-gizmo-0.0.3.tar.gz", "has_sig": false, "md5_digest": "fbb673451c87437cbb0d9314ddd772f9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6016, "upload_time": "2012-05-08T11:06:21", "url": "https://files.pythonhosted.org/packages/3c/70/f308ab32989c7c61783d002014fbd027bb9b33e7332ee5b27d40db446e9f/django-gizmo-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "7ffff64f2ed950c799ccf3f70f9f85b4", "sha256": "4a07df5955e344dee2bc2acb91798375e199a871c5ad17d7b5e7e25a89471b39" }, "downloads": -1, "filename": "django_gizmo-0.0.4-py2.4.egg", "has_sig": false, "md5_digest": "7ffff64f2ed950c799ccf3f70f9f85b4", "packagetype": "bdist_egg", "python_version": "2.4", "requires_python": null, "size": 12737, "upload_time": "2012-07-31T13:46:59", "url": "https://files.pythonhosted.org/packages/ce/53/0d6541ac173eca4db787cd1dc5fa45ccd1d99b52f109a2df05710b1b5749/django_gizmo-0.0.4-py2.4.egg" }, { "comment_text": "", "digests": { "md5": "59bc96b54c9ac0e10197564f4a44f231", "sha256": "706a3ec6bd54327e8bae51a9d63be411b2c36f79e606176e7c72deec8b57e13a" }, "downloads": -1, "filename": "django-gizmo-0.0.4.tar.gz", "has_sig": false, "md5_digest": "59bc96b54c9ac0e10197564f4a44f231", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6141, "upload_time": "2012-07-31T13:46:57", "url": "https://files.pythonhosted.org/packages/9c/a3/1eafe87fcc155d16408133ec24d705bdf88439a554338013cd5c62600ad3/django-gizmo-0.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7ffff64f2ed950c799ccf3f70f9f85b4", "sha256": "4a07df5955e344dee2bc2acb91798375e199a871c5ad17d7b5e7e25a89471b39" }, "downloads": -1, "filename": "django_gizmo-0.0.4-py2.4.egg", "has_sig": false, "md5_digest": "7ffff64f2ed950c799ccf3f70f9f85b4", "packagetype": "bdist_egg", "python_version": "2.4", "requires_python": null, "size": 12737, "upload_time": "2012-07-31T13:46:59", "url": "https://files.pythonhosted.org/packages/ce/53/0d6541ac173eca4db787cd1dc5fa45ccd1d99b52f109a2df05710b1b5749/django_gizmo-0.0.4-py2.4.egg" }, { "comment_text": "", "digests": { "md5": "59bc96b54c9ac0e10197564f4a44f231", "sha256": "706a3ec6bd54327e8bae51a9d63be411b2c36f79e606176e7c72deec8b57e13a" }, "downloads": -1, "filename": "django-gizmo-0.0.4.tar.gz", "has_sig": false, "md5_digest": "59bc96b54c9ac0e10197564f4a44f231", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6141, "upload_time": "2012-07-31T13:46:57", "url": "https://files.pythonhosted.org/packages/9c/a3/1eafe87fcc155d16408133ec24d705bdf88439a554338013cd5c62600ad3/django-gizmo-0.0.4.tar.gz" } ] }