1 | # code was removed, because django has form.changed_data since a long time.
|
More like this
- Database Schema Upgrade (deprecated) by guettli 3 years, 3 months ago
- newforms and ModelForm by danfairs 4 years, 1 month ago
- Cookie based Messages (deprecated) by guettli 2 years, 9 months ago
- Field value as plain text which can't be edited by user by szczavv 2 years, 4 months ago
- Confirm alert if the user navigates away without saving changes by mrazzari 2 years, 6 months ago
Comments
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.
#