Simon Willison’s Weblog

Subscribe
Atom feed for peter-baumgartner

1 item tagged “peter-baumgartner”

2008

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 / django, dry, newforms, peter-baumgartner, python