Conveniently, a django.forms.Form object is little more than a collection of fields, meaning that you can concatenate outputs to construct a single form in html, like so: <form action="" method="POST"> {{ form1.as_ul }} {{ form2.as_ul }} <input type="submit" /> </form> ...
Read full entryOne of my favourite software engineering maxims is "Don't Repeat Yourself". Thankfully, the Django community has embraced this approach - models, for instance, can be used to define forms (django.forms.ModelForm) as well as admin interfaces (django.contrib.admin.ModelAdmin). URLs are defined once, ...
Read full entry