cc1  v2.1
CC1 source code docs
 All Classes Namespaces Files Functions Variables Pages
src.wi.commontags.templatetags.templatetags.VerbatimNode Class Reference

jQuery templates use constructs like: More...

Public Member Functions

def __init__
def render

Public Attributes


Detailed Description

jQuery templates use constructs like:

{{if condition}} print something{{/if}}

This, of course, completely screws up Django templates, because Django thinks {{ and }} means something.

Wrap {% verbatim2 %} and {% endverbatim2 %} around those blocks of jQuery templates and this will try its best to output the contents with no changes.

This version of verbatim template tag allows you to use tags like url {% url 'name' %} or {% csrf_token %} within.

Definition at line 98 of file

Constructor & Destructor Documentation

def src.wi.commontags.templatetags.templatetags.VerbatimNode.__init__ (   self,

Definition at line 99 of file

Member Function Documentation

def src.wi.commontags.templatetags.templatetags.VerbatimNode.render (   self,

Definition at line 102 of file

Member Data Documentation


Definition at line 100 of file

The documentation for this class was generated from the following file: