Pages tagged with templates

Bad Ideas and Regular Expressions in Templates

11/05/2008 django(73)templates(1)

A meandering story about creating a simple if-else derivative template tag that matches arbitrary values against regular expressions instead of matching boolean values.

Will Larson

Your delightful host.
Email: lethain[at]gmail
Develop at SocialCode.
Used to Digg, and Y!.

Tags

Top Referrers

  • stackoverflow (22045)
  • news.ycombinator (13474)
  • reddit (9741)
  • More…
 

All Rights Reserved, Will Larson 2007 - 2013.