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

Yep, all wrong :) You want a custom filter: http://www.djangoproject.com/documentation/templates_python/


Other types of complexity can be handled in custom template tags too.

The easy way to look at them is you could write your own 'filter' or 'count' or any of the tags you see.

However, most of your needs can be met by the built in filters.




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

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

Search: