5 ms·
One of the main assumptions behind the Django templating language is that you don't need to know Python. http://docs.djangoproject.com/en/dev/misc/design-philo
by mtrichardson 17y ago
One of the main assumptions behind the Django templating language is that you don't need to know Python.
http://docs.djangoproject.com/en/dev/misc/design-philosophies/#template-system http://docs.djangoproject.com/en/dev/misc/design-philosophie...
"The Django template system recognizes that templates are most often written by designers, not programmers, and therefore should not assume Python knowledge."
In my experience this has often been the case.
- paulgb 17y agoI figured that had to do with it, but it doesn't really explain why they don't just use an equivalently powerful subset of python. Better yet, allow full python like Mako does, and let the designers decide what subset of that to use in templates.
- racketman4 17y agoThe template language isn't for you.
- paulgb 17y agoWhich is why, given the choice, I would use something more like Mako.