About Archive Tag Cloud Translations RSS

You are writing a comment about Replacing Django's Template Language With Jinja2, here is a quick summary:

The first example in the Loosely Coupled Django series, this entry looks at replacing Django's template language with the freshly released Jinja2 template language.


You are responding to this comment written by Al Kravets on December 21st 2009, 12:09.

There is a little mistake in the example on the page:

default_mimetype = gettattr(settings, 'DEFAULT_CONTENT_TYPE')

getTattr

Thanks.


Please be aware that comment forms go stale after one hour.





Comments may make use of LifeFlow MarkDown. Raw html will be escaped.


Quick Introduction to LifeFlow MarkDown Syntax

A highlighted code block:

@@ ruby
def a (b, c):
  b * c
end
@@

Other common languages work as well: scheme, python, java, html, etc.

Other markdown syntax:

 ### This is an h3 title
#### This is an h4 title
**this is bold**
*this is italics*

1. This is an
2. ordered list

* And an unordered
* list too

[this is a link](http://www.lethain.com/ "Lethain")