Django-rest-framework: ugettext_lazy should be renamed to gettext_lazy

Created on 20 Dec 2017  路  6Comments  路  Source: encode/django-rest-framework

Most helpful comment

And why should it be renamed ?

All 6 comments

And why should it be renamed ?

Sorry, after upgrading to Django2, got import error.

@werevolff Since you closed the issue, I assume it went away? What was the resolution?

Don't know. At first time, I updated from Django 1.11, and got this error. After the virtualenv folder deletion, I could not to reproduce it.

OK. That _sounds_ like it's probably stale .pyc files lying around. If you hit it again, please come back.

Yes, this is the most probable cause, along with fatigue.

Was this page helpful?
0 / 5 - 0 ratings