kmike/django-webtest — pull request #4 by igniteflow (2013-02-26 15:54:26+00:00)
Title: to_string import fixed

Error:

In [1]: from django_webtest import WebTest
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
in ()
----> 1 from django_webtest import WebTest

/home/vagrant/.virtualenvs/gsa/lib/python2.6/site-packages/django_webtest/__init__.py in ()
16
17 from webtest import TestApp
---> 18 from webtest.compat import to_string
19
20 from django_webtest.response import DjangoWebtestResponse

ImportError: cannot import name to_string

I have changed the import to:

from webtest.lint import to_string

seems to fix the issue