summaryrefslogtreecommitdiff
path: root/django/contrib/postgres/forms/hstore.py
diff options
context:
space:
mode:
authorCurtis Maloney <curtis@tinbrain.net>2015-08-04 10:47:58 +1000
committerMarkus Holtermann <info@markusholtermann.eu>2015-08-04 19:15:22 +1000
commit9f73009e98c51986a50cc45844b8bca72673e955 (patch)
treef6f71e5100f4f26b00979c3dbad3839117f6fb53 /django/contrib/postgres/forms/hstore.py
parent770449e24b3b0fa60d870bc3404961ddca754c3b (diff)
downloaddjango-9f73009e98c51986a50cc45844b8bca72673e955.tar.gz
Fixed #25215 -- Solved reference to forms.HStoreField in declaration of HStoreField
Correct test which was using the model field in a test form.
Diffstat (limited to 'django/contrib/postgres/forms/hstore.py')
-rw-r--r--django/contrib/postgres/forms/hstore.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/postgres/forms/hstore.py b/django/contrib/postgres/forms/hstore.py
index a138093e90..3dc70ab2ab 100644
--- a/django/contrib/postgres/forms/hstore.py
+++ b/django/contrib/postgres/forms/hstore.py
@@ -43,4 +43,4 @@ class HStoreField(forms.CharField):
# the same as an empty dict, if the data or initial value we get
# is None, replace it w/ {}.
initial_value = self.to_python(initial)
- return super(forms.HStoreField, self).has_changed(initial_value, data)
+ return super(HStoreField, self).has_changed(initial_value, data)