Commits

Valentin Gorbunov committed 25f476a

replace using of ugettext to ugettext_lazy

Comments (0)

Files changed (4)

publicauth/backends/openid.py

 from openid.extensions.sreg import SRegRequest, SRegResponse
 from openid.extensions.ax import FetchRequest, AttrInfo, FetchResponse
 
-from django.utils.translation import ugettext as _
+from django.utils.translation import ugettext_lazy as _
 from django.core.urlresolvers import reverse
 from django.shortcuts import redirect
 from django.contrib import messages

publicauth/forms.py

-from django.utils.translation import ugettext as _
+from django.utils.translation import ugettext_lazy as _
 from django.contrib.auth.models import User
 from django import forms
 

publicauth/lang.py

-from django.utils.translation import ugettext as _
+from django.utils.translation import ugettext_lazy as _
 from django.conf import settings
 
 

publicauth/views.py

 from django.conf import settings as global_settings
-from django.utils.translation import ugettext as _
+from django.utils.translation import ugettext_lazy as _
 from django.shortcuts import redirect
 from django.contrib import messages
 from django.http import Http404