diff options
| author | Claude Paroz <claude@2xlibre.net> | 2013-01-25 20:50:46 +0100 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2013-01-25 20:50:46 +0100 |
| commit | ebb504db692cac496f4f45762d1d14644c9fa6fa (patch) | |
| tree | 1a1ac132d765f6e93c390fe532f9b39d1edee096 /docs | |
| parent | ce27fb198dcce5dad47de83fc81119d3bb6567ce (diff) | |
Moved has_changed logic from widget to form field
Refs #16612. Thanks Aymeric Augustin for the suggestion.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/1.6.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/releases/1.6.txt b/docs/releases/1.6.txt index 89d7bb3c05..29ecad3e9f 100644 --- a/docs/releases/1.6.txt +++ b/docs/releases/1.6.txt @@ -67,3 +67,9 @@ If you're relying on this feature, you should add ``'django.middleware.common.BrokenLinkEmailsMiddleware'`` to your :setting:`MIDDLEWARE_CLASSES` setting and remove ``SEND_BROKEN_LINK_EMAILS`` from your settings. + +``_has_changed`` method on widgets +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +If you defined your own form widgets and defined the ``_has_changed`` method +on a widget, you should now define this method on the form field itself. |
