Useful form tricks in Django

July 24, 2008 at 12:46 am | Posted in django | 9 Comments

Not much text to put in this post, I just want to show a few useful things you can do with a ModelForm in django, so I can quit retyping examples :)
Continue Reading Useful form tricks in Django…

Editing multiple objects in Django with forms

February 18, 2008 at 1:45 pm | Posted in django | 6 Comments

A common problem I see when helping people in the Django IRC channel is people who are trying to create or edit multiple objects, but for some reason try to make a single form object to deal with them – this makes things quite convoluted and much harder than they have to be. My goal here is to explain a much simpler method using multiple form objects.
Continue Reading Editing multiple objects in Django with forms…

Create a free website or blog at WordPress.com. | The Pool Theme.
Entries and comments feeds.

Follow

Get every new post delivered to your Inbox.