{ "info": { "author": "Daniel Rozenberg", "author_email": "me@danielrozenberg.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Framework :: Django", "Framework :: Django :: 1.8", "Intended Audience :: Developers", "Intended Audience :: End Users/Desktop", "License :: OSI Approved :: ISC License (ISCL)", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4" ], "description": "Render as Template\n==================\n\nA template tag for Django that takes a string and renders as it if it was a\ntemplate. Uses the current Engine and RequestContext.\n\nInclude in your template by adding ``{% load render_as_template %}``. Use by\nadding ``{% render_as_template some_var %}`` where ``some_var`` is a context\nvariable that acts as a template.\n\nExample: assume your view exposes two variables in the context: ``my_string``\nand ``my_template``.\n\nThen, if:\n\n ``my_string == u\"http://example.com/\"``, and\n\n ``my_template == u\"Go to {{ my_string|urlize }}!\"\"``, and\n\n ``the_views_template.html == u\"{% render_as_template my_template %}\"``\n\nThen final output would be:\n\n ``Go to http://example.com/!``\n\nMixed with flatpages this lets you create powerful websites, although make sure\nyou trust the people who can edit those flatpages because who knows what kind\nof dangerous security holes this thing will create! Also if your template\nincludes HTML don't forget to mark it safe:\n\n ``{% render_as_template my_template|safe %}``", "description_content_type": null, "docs_url": null, "download_url": null, "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/daniboy/django-render-as-template", "keywords": "template templates template-engine flatpages", "license": "ISC", "maintainer": null, "maintainer_email": null, "name": "django-render-as-template", "package_url": "https://pypi.org/project/django-render-as-template/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-render-as-template/", "project_urls": { "Homepage": "https://github.com/daniboy/django-render-as-template" }, "release_url": "https://pypi.org/project/django-render-as-template/1.0.0/", "requires_dist": null, "requires_python": null, "summary": "A template tag for Django that takes a string and renders as it if it was a template.", "version": "1.0.0" }, "last_serial": 1510859, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "411d0587b35fb544c704960c18883da9", "sha256": "7ebc160b6c69e2d39a25a6aef51b411000b172c917dc47f119b525bfa6b6f0b2" }, "downloads": -1, "filename": "django_render_as_template-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "411d0587b35fb544c704960c18883da9", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4258, "upload_time": "2015-04-18T18:36:03", "url": "https://files.pythonhosted.org/packages/8d/8d/bf9fb6af8fbcdcf7a24103961b95dc5217397e80acec39be0eb3377e4aaa/django_render_as_template-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "36dd883e3467b535423183a05c59fceb", "sha256": "a4cfe26c67a2e8f057fbd88f53aa986392432d294e1c036f68a6ca8bb5203187" }, "downloads": -1, "filename": "django-render-as-template-1.0.0.tar.gz", "has_sig": false, "md5_digest": "36dd883e3467b535423183a05c59fceb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2214, "upload_time": "2015-04-18T18:35:53", "url": "https://files.pythonhosted.org/packages/51/68/d7f02461db3b935935700972c4a2dd27087f5fd9a8b13d488d9c7fd9a5f8/django-render-as-template-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "411d0587b35fb544c704960c18883da9", "sha256": "7ebc160b6c69e2d39a25a6aef51b411000b172c917dc47f119b525bfa6b6f0b2" }, "downloads": -1, "filename": "django_render_as_template-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "411d0587b35fb544c704960c18883da9", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4258, "upload_time": "2015-04-18T18:36:03", "url": "https://files.pythonhosted.org/packages/8d/8d/bf9fb6af8fbcdcf7a24103961b95dc5217397e80acec39be0eb3377e4aaa/django_render_as_template-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "36dd883e3467b535423183a05c59fceb", "sha256": "a4cfe26c67a2e8f057fbd88f53aa986392432d294e1c036f68a6ca8bb5203187" }, "downloads": -1, "filename": "django-render-as-template-1.0.0.tar.gz", "has_sig": false, "md5_digest": "36dd883e3467b535423183a05c59fceb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2214, "upload_time": "2015-04-18T18:35:53", "url": "https://files.pythonhosted.org/packages/51/68/d7f02461db3b935935700972c4a2dd27087f5fd9a8b13d488d9c7fd9a5f8/django-render-as-template-1.0.0.tar.gz" } ] }