0
0
mirror of https://github.com/django/django.git synced 2024-11-29 22:56:46 +01:00

Fixed forms import.

This commit is contained in:
Florian Apolloner 2015-05-24 17:52:35 +02:00
parent 92f37e5f5f
commit 6128005d90

View File

@ -1,6 +1,7 @@
import json
from django.core import exceptions, serializers
from django.forms import Form
from . import PostgresSQLTestCase
from .models import HStoreModel
@ -179,7 +180,7 @@ class TestFormField(PostgresSQLTestCase):
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())