Skip to content

Instantly share code, notes, and snippets.

View bryanchow's full-sized avatar

Bryan Chow bryanchow

View GitHub Profile
"""
jQuery templates use constructs like:
{{if condition}} print something{{/if}}
This, of course, completely screws up Django templates,
because Django thinks {{ and }} mean something.
Wrap {% verbatim %} and {% endverbatim %} around those
blocks of jQuery templates and this will try its best