summaryrefslogtreecommitdiff
path: root/example_project
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2019-10-31 13:21:34 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2019-10-31 13:21:34 +0100
commitdfa49506d58be8678ee94d33ae06ddb25fb940b7 (patch)
tree3026021119bd38e5f812b3057cea0f0bb80e673c /example_project
parent8977a1f316da54e81344035e9e2d7aaa8f49b9f9 (diff)
downloadIshtar-dfa49506d58be8678ee94d33ae06ddb25fb940b7.tar.bz2
Ishtar-dfa49506d58be8678ee94d33ae06ddb25fb940b7.zip
Unify translation process
Diffstat (limited to 'example_project')
-rwxr-xr-xexample_project/manage.py1
-rw-r--r--example_project/settings.py2
2 files changed, 3 insertions, 0 deletions
diff --git a/example_project/manage.py b/example_project/manage.py
index 655a2475a..1aca2c7f2 100755
--- a/example_project/manage.py
+++ b/example_project/manage.py
@@ -2,6 +2,7 @@
import os
import sys
+sys.path.append(os.path.abspath('.'))
sys.path.append(os.path.abspath('..'))
if __name__ == "__main__":
diff --git a/example_project/settings.py b/example_project/settings.py
index 3af5312ce..65ca93395 100644
--- a/example_project/settings.py
+++ b/example_project/settings.py
@@ -35,6 +35,8 @@ BASE_URL = "/"
URL_PATH = ""
EXTRA_VERSION = 'git'
+LOCALE_PATHS = [os.path.abspath(os.path.join(ROOT_PATH, "..", "locale"))]
+
STATICFILES_FINDERS = (
'django.contrib.staticfiles.finders.FileSystemFinder',
'django.contrib.staticfiles.finders.AppDirectoriesFinder',