From dfa49506d58be8678ee94d33ae06ddb25fb940b7 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 31 Oct 2019 13:21:34 +0100 Subject: Unify translation process --- example_project/manage.py | 1 + example_project/settings.py | 2 ++ 2 files changed, 3 insertions(+) (limited to 'example_project') 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', -- cgit v1.2.3