{ "info": { "author": "Ian Jabour", "author_email": "l4nk332@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3" ], "description": "# Django Stash Tag\n\nA Django template tag that allows for markup to be stashed and\ndynamically applied *without* needing to create a separate partial or\ntemplate tag file.\n\n## Installation\n\nInstall Django Stash Tag:\n\n```\npip install django-stash-tag\n```\n\nAfter you've installed the tag, add `django_stash_tag` to\n`INSTALLED_APPS` in your `settings.py` file:\n\n```\n# settings.py\n\nINSTALLED_APPS = (\n # \u2026\n 'django_stash_tag',\n)\n```\n\n## Static Usage\n\nThe `stash` tag can be used to store static markup for reuse further\ndown the template. Using `stash_apply` you can render the stashed\nmarkup.\n\nFirst we load the tag and stash the markup with a name to stash it\nunder:\n\n```\n{% load stash %}\n\n{% stash 'static_heading' %}\n