Simon Willison’s Weblog

Blogmarks tagged django, dry in Mar

Filters: Type: blogmark × Month: Mar × django × dry ×

Better Use of Newforms. Two really neat techniques: using an inclusion tag template to DRY your custom form templates, and adding what-to-do-next methods to the form class itself to cut down on the application code in your views. # 25th March 2008, 10:53 pm