Commits

Valentin Gorbunov  committed 25f476a

replace using of ugettext to ugettext_lazy

  • Participants
  • Parent commits 7371e8f

Comments (0)

Files changed (4)

File 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

File 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
 

File publicauth/lang.py

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

File 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