Use ugettext_lazy so formfields are correctly translated

This commit is contained in:
Andy Kittner 2012-07-25 22:17:17 +02:00
parent 23346e05a8
commit 9cba59a9a7
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
from django import forms
from django.utils.translation import ugettext as _
from django.utils.translation import ugettext_lazy as _
class ContactForm(forms.Form):
error_css_class = 'error'