Hi Alex,
Thanks for your reply. Yes, I had found and experimented with both
has_changed() and changed_data(), but I found that they don't deal as
I'd like with my case where my form contains fields that are not in
the model. IE, using the Book example, if I have
model Book(models.Model):
na
On Wed, Feb 25, 2009 at 7:55 PM, Margie wrote:
>
> Say I create a form that reflects the current state of an object. The
> user can edit that form, and when they click 'save', I get back the
> new, possibly edited, values via the POST. In my POST code I do
> something like this:
>
> postDict =
Say I create a form that reflects the current state of an object. The
user can edit that form, and when they click 'save', I get back the
new, possibly edited, values via the POST. In my POST code I do
something like this:
postDict = request.POST.copy()
bookForm = BookForm(postDict, instance=bo
3 matches
Mail list logo