Commits

Mark Lavin committed 464c40d

Switch to ugettext_lazy for error message translations.

  • Participants
  • Parent commits 95d346f

Comments (0)

Files changed (1)

File selectable/forms/fields.py

 from django import forms
 from django.core.exceptions import ValidationError
 from django.core.validators import EMPTY_VALUES
-from django.utils.translation import ugettext as _
+from django.utils.translation import ugettext_lazy as _
 
 from selectable.forms.widgets import AutoCompleteSelectWidget
 from selectable.forms.widgets import AutoCompleteSelectMultipleWidget