Skip to content

Instantly share code, notes, and snippets.

@pokidovea
Last active December 20, 2015 05:19
Show Gist options
  • Save pokidovea/6077376 to your computer and use it in GitHub Desktop.
Save pokidovea/6077376 to your computer and use it in GitHub Desktop.
Django {% cache %} tag for Sublime Text 2/3
<snippet>
<content><![CDATA[
{% cache ${1:timeout} ${2:cache_name} ${3:vary} %}
${4:$SELECTION}
{% endcache %}
]]> </content>
<tabTrigger>cache</tabTrigger>
<scope>text.html.django</scope>
<description>cache</description>
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment