Collection of Snippets for Django

Many things in Django are Python or templating. When doing templating, in many cases it's HTML.

[HTML]
# Django templates
if={% if %cursor% %}\n\t\n{% endif %}
for={% for sth in %cursor% %}\n\t%cursor%\n{% endfor %}
dv={{ %cursor% }}
db={% %cursor% %}
dbl={% block %cursor% %}\n\t%cursor%\n{% endblock %}
trans={% trans "%cursor%" %}
com={# %cursor% #}
comm={% comment %}
ecomm={% endcomment %}
base={% extends "base.html" %}
ext={% extends "%cursor%" %}
else={% else %}
url={% url "%cursor%" %}
static={% static "%cursor%" %}
Print/export