kapilratnani/django_hana — pull request #7 by marcopashkov (2013-04-17 23:27:56+00:00)
Title: 1.4 incompatibilities

Hi Kapil,

for some reason the following lines caused import errors on my non-aws hana instances:
from django.utils.safestring import SafeText, SafeBytes
from django.utils import six

I installed django 1.4 via easy_install and our django_hana connector but SafeText etc seem not to be included in the 1.4 package that I had installed.

SafeText, SafeBytes were not used anyway, so that was easy. six was used to re-raise db errors as django errors. For now the original db error will be raise if it occurs, but this would have to be fixed at some point.

But this way it now works also on clean HANA-installations

Best,
Marco