Use ugettext_lazy so formfields are correctly translated
This commit is contained in:
parent
23346e05a8
commit
9cba59a9a7
@ -1,5 +1,5 @@
|
|||||||
from django import forms
|
from django import forms
|
||||||
from django.utils.translation import ugettext as _
|
from django.utils.translation import ugettext_lazy as _
|
||||||
|
|
||||||
class ContactForm(forms.Form):
|
class ContactForm(forms.Form):
|
||||||
error_css_class = 'error'
|
error_css_class = 'error'
|
||||||
|
Loading…
Reference in New Issue
Block a user