panosl / django-currencies

django-currencies allows you to define different currencies, and includes template tags/filters to allow easy conversion between them.
http://pypi.python.org/pypi/django-currencies
BSD 3-Clause "New" or "Revised" License
94 stars 81 forks source link

Fix UnicodeEncodeError with Django 1.8 #23

Closed zhangziang closed 9 years ago

zhangziang commented 9 years ago

with Django 1.8, access /admin/currencies/currency would throw UnicodeEncodeError.

modifie models.py use ugettext_lazy replace gettext_lazy

panosl commented 9 years ago

Thanks for submitting a patch mate! Have you checked if it doesn't complain about gettext_lazy in older Django versions?

zhangziang commented 9 years ago

It doesn't throw Error in Django 1.7.8

stelzzz commented 9 years ago

Patch work with older 1.5.

panosl commented 9 years ago

Thanks for the input guys, merged!