Hello,

I want to improve this method:

django/forms/forms.py: Form.get_changed_data()

I need to have access to the old data, and would like to have a triple list 
like this:

(field_name, old_value, new_value)

Code: https://github.com/django/django/blob/master/django/forms/forms.py#L415

My current solution is to subclass Form and overwrite this method.

This overwrite is mostly a cut+paste of django's implementation and stores the 
triple list
on the form instance.

I guess this triple list would be useful for other people, too.

What do you think?

Is there interest do make the above triple list available in django core?

 Thomas

--
You received this message because you are subscribed to the Google Groups "Django 
developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/53590D3C.10108%40tbz-pariv.de.
For more options, visit https://groups.google.com/d/optout.

Reply via email to