summaryrefslogtreecommitdiff
path: root/docs/misc
diff options
context:
space:
mode:
authorNeal Todd <neal.todd@torchbox.com>2015-11-11 15:21:43 +0000
committerTim Graham <timograham@gmail.com>2015-11-11 11:49:51 -0500
commit74365585e28174834184e659b788c917303cd98a (patch)
treef826ac55fdb27bed6f7af18c70fcbd5ba98d1dab /docs/misc
parentcb32292176828f285d196bd90a63dbc30c97a8e0 (diff)
Fixed #25732 -- Updated template system design philosophy.
Removed the bit about not allowing assignment to variables because simple_tag now allows this.
Diffstat (limited to 'docs/misc')
-rw-r--r--docs/misc/design-philosophies.txt8
1 files changed, 2 insertions, 6 deletions
diff --git a/docs/misc/design-philosophies.txt b/docs/misc/design-philosophies.txt
index 39807ed3d0..5a756be450 100644
--- a/docs/misc/design-philosophies.txt
+++ b/docs/misc/design-philosophies.txt
@@ -249,14 +249,10 @@ displayed.
Don't invent a programming language
-----------------------------------
-The template system intentionally doesn't allow the following:
-
-* Assignment to variables
-* Advanced logic
-
The goal is not to invent a programming language. The goal is to offer just
enough programming-esque functionality, such as branching and looping, that is
-essential for making presentation-related decisions.
+essential for making presentation-related decisions. The :ref:`Django Template
+Language (DTL) <template-language-intro>` aims to avoid advanced logic.
The Django template system recognizes that templates are most often written by
*designers*, not *programmers*, and therefore should not assume Python