| 1 | This is a list of template engines and languages which are similar to, or inspired by, the Django Template Language. Some of them can be used in Django as a substitute for DTL, others are listed mostly for the cross-pollination value. |
| 2 | |
| 3 | |
| 4 | == [http://jinja.pocoo.org/docs/dev/ Jinja2] == |
| 5 | |
| 6 | Inspired by DTL, has some different properties. Allows logic to be expressed in templates more easily (many see this as a bad thing). |
| 7 | |
| 8 | == [http://angularjs.org/ Angular] == |
| 9 | |
| 10 | Angular's use of `{{ var | filter }}` syntax seems to be taken from Django templates. I (Shai) have seen no acknowledgment of this, but I haven't looked very hard. |
| 11 | |
| 12 | == [https://github.com/ajg/synth Synth] == |
| 13 | |
| 14 | Synth is a C++ template engine, which includes an implementation of DTL. It can by used from Django by way of [https://github.com/ajg/django-synth django-synth]; See small discussion about it, including some promising performance comparisons, [https://groups.google.com/d/msgid/django-developers/a052bfe4-4106-410d-8bb4-bbf8082f7f8a%40googlegroups.com here]. |
| 15 | |
| 16 | == [http://www.grantlee.org Grantlee] == |
| 17 | |
| 18 | Grantlee is an older C++ implementation of DTL, for use in C++ (and specifically, Qt-based programs). Does not appear to be usable from Django in particular or Python in general. |
| 19 | |
| 20 | Of specific interest: A list of [http://www.grantlee.org/apidox/differences_django.html differences from Django]. |