1. Alexey Terentev
  2. django-registration

Commits

ubernostrum  committed 0316a37

Fixed #73: forms now use lazy translation.

  • Participants
  • Parent commits 5a18d13
  • Branches default

Comments (0)

Files changed (1)

File registration/forms.py

View file
 
 from django import newforms as forms
 from django.core.validators import alnum_re
-from django.utils.translation import ugettext as _
+from django.utils.translation import ugettext_lazy as _
 from django.contrib.auth.models import User
 
 from registration.models import RegistrationProfile