enable translations for contact form

This commit is contained in:
Jan Dittberner 2015-02-01 20:58:53 +01:00
parent 8c30ec697d
commit 1bee80044c
3 changed files with 5 additions and 1 deletions

View file

@ -1,6 +1,9 @@
Changelog
=========
* :bug:`-` fix translation of contact form by using ugettext_lazy and adding
contact_form to INSTALLED_APPS
* :release:`0.11.0 <2015-02-01>`
* :feature:`-` add icons to top level navigation
* :feature:`-` add contact form

View file

@ -10,7 +10,7 @@ from django.core.mail import send_mail
from django.core.urlresolvers import reverse
from django.template import RequestContext
from django.template import loader
from django.utils.translation import ugettext as _
from django.utils.translation import ugettext_lazy as _
from django.contrib.sites.models import RequestSite
from django.contrib.sites.models import Site

View file

@ -270,6 +270,7 @@ LOCAL_APPS = (
'userdbs',
'hostingpackages',
'websites',
'contact_form',
)
# See: https://docs.djangoproject.com/en/dev/ref/settings/#installed-apps