Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Indeed. It just seemed a little restrictive not to be able to use some basic Python operators from within a template. Why invent a separate awkward syntax when Python itself is perfectly suitable?


The idea was so that a web designer who didn't know any programming could easily edit it.


Interesting. I wonder how well that has worked out in practice.

Seems to me like any designer smart enough to get comfortable with Django's templating language probably wouldn't have any trouble getting comfortable with Python itself!

It's not like you'd ever do anything particularly complicated (programming wise) from within your templates anyway.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: