From 7d2aa560ba859ebb593d34b062bf1faf09c8724c Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 18 Oct 2012 17:49:57 +0200 Subject: Djangoization - Major refactoring (step 1) --- example_project/__init__.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 example_project/__init__.py (limited to 'example_project/__init__.py') diff --git a/example_project/__init__.py b/example_project/__init__.py new file mode 100644 index 000000000..a23b98e09 --- /dev/null +++ b/example_project/__init__.py @@ -0,0 +1,14 @@ +# force the retranslation of generated strings and external module +from django.utils.translation import ugettext as _ +_(u"username") +_(u"email address") +_(u"warehouse") +_(u"New warehouse") +_(u"warehouse") +_(u"New organization") +_(u"New person") +_(u"New author") +if settings.XHTML2ODT_PATH: + import sys + sys.path.append(settings.XHTML2ODT_PATH) + from xhtml2odt import xhtml2odt -- cgit v1.2.3