Skip to content

Commit

Permalink
Fixed forms import.
Browse files Browse the repository at this point in the history
  • Loading branch information
apollo13 committed May 24, 2015
1 parent 92f37e5 commit 6128005
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/postgres_tests/test_hstore.py
@@ -1,6 +1,7 @@
import json

from django.core import exceptions, serializers
from django.forms import Form

from . import PostgresSQLTestCase
from .models import HStoreModel
Expand Down Expand Up @@ -179,7 +180,7 @@ def test_model_field_formfield(self):
self.assertIsInstance(form_field, forms.HStoreField)

def test_empty_field_has_not_changed(self):
class HStoreFormTest(forms.Form):
class HStoreFormTest(Form):
f1 = HStoreField()
form_w_hstore = HStoreFormTest()
self.assertFalse(form_w_hstore.has_changed())
Expand Down

0 comments on commit 6128005

Please sign in to comment.