Skip to content

Commit

Permalink
TRANSLATIONS_BASE_DIR value set differently for test and base environ…
Browse files Browse the repository at this point in the history
…ment
  • Loading branch information
michalkaspar committed Feb 2, 2017
1 parent 7e7d0b8 commit b2c0f90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,13 +108,13 @@

if TESTING:
LOCALE_PATHS = [os.path.join(BASE_DIR, 'tests', "locale")]
TRANSLATIONS_BASE_DIR = BASE_DIR
else:
LOCALE_PATHS = [
os.path.join(BASE_DIR, 'translation_manager', 'locale')
]
TRANSLATIONS_BASE_DIR = os.path.join(BASE_DIR, 'translation_manager')


TRANSLATIONS_BASE_DIR = os.path.join(BASE_DIR, 'translation_manager')
TRANSLATIONS_MODE = "N"

TRANSLATIONS_PROJECT_BASE_DIR = BASE_DIR
Expand Down

0 comments on commit b2c0f90

Please sign in to comment.