Recent Posts

Django: uniform image resizing

Sometimes, you want all the thumbnails you're creating to be the same dimensions. For example, your layout may require a certain width so that all the items...

per subdomain robots.txt in Apache

When I develop a website, I tend to go subdomain crazy. If the site is crazy.net, I probably configure www.crazy.net, admin.crazy.net, static.crazy.net, you...

Django log form ValidationErrors

Forms are the primary way your users communicate with your website. Hopefully, the users are always entering data in the correct format, and the form always...

Django HTML5 input placeholders

HTML5 has a bunch of nifty progressive enhancements to forms, one of which is placeholder text. Here is an example, along with the required code.

Chained Select Progressive Enhancement

Perhaps you have encountered a chained select control in your travels. The canonical example would be on Monster or CareerBuilder, picking your area of expe...