check if form has changed (deprecated)

1
# code was removed, because django has form.changed_data since a long time.

More like this

  1. Database Schema Upgrade (deprecated) by guettli 3 years, 3 months ago
  2. newforms and ModelForm by danfairs 4 years, 1 month ago
  3. Cookie based Messages (deprecated) by guettli 2 years, 9 months ago
  4. Field value as plain text which can't be edited by user by szczavv 2 years, 4 months ago
  5. Confirm alert if the user navigates away without saving changes by mrazzari 2 years, 6 months ago

Comments

guettli (on September 17, 2008):

At least since django 1.0 forms have method has_changed() and an attribute "changed_data". I (the author of this snippet) will use has_changed() instead of this snippet in new code.

#

(Forgotten your password?)