diff options
author | Curtis Maloney <curtis@tinbrain.net> | 2015-08-04 10:47:58 +1000 |
---|---|---|
committer | Markus Holtermann <info@markusholtermann.eu> | 2015-08-04 19:15:22 +1000 |
commit | 9f73009e98c51986a50cc45844b8bca72673e955 (patch) | |
tree | f6f71e5100f4f26b00979c3dbad3839117f6fb53 /django/contrib/postgres/forms/hstore.py | |
parent | 770449e24b3b0fa60d870bc3404961ddca754c3b (diff) | |
download | django-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.py | 2 |
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) |