mirror of
https://github.com/django/django.git
synced 2025-06-05 11:39:13 +00:00
Corrected a comment in forms/forms.py; refs #16612.
This commit is contained in:
parent
d4f62a7ae7
commit
399cf303cb
@ -420,7 +420,7 @@ class BaseForm(object):
|
|||||||
def changed_data(self):
|
def changed_data(self):
|
||||||
if self._changed_data is None:
|
if self._changed_data is None:
|
||||||
self._changed_data = []
|
self._changed_data = []
|
||||||
# XXX: For now we're asking the individual widgets whether or not the
|
# XXX: For now we're asking the individual fields whether or not the
|
||||||
# data has changed. It would probably be more efficient to hash the
|
# data has changed. It would probably be more efficient to hash the
|
||||||
# initial data, store it in a hidden field, and compare a hash of the
|
# initial data, store it in a hidden field, and compare a hash of the
|
||||||
# submitted data, but we'd need a way to easily get the string value
|
# submitted data, but we'd need a way to easily get the string value
|
||||||
|
Loading…
x
Reference in New Issue
Block a user