From 57f6e57b88c62a4f6984c5f020d03412bd9ea6a3 Mon Sep 17 00:00:00 2001 From: Gust Date: Tue, 3 Mar 2015 16:52:37 -0300 Subject: [PATCH] Add custom locale configuration --- colab/settings.py | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) diff --git a/colab/settings.py b/colab/settings.py index 06cb711..6912100 100644 --- a/colab/settings.py +++ b/colab/settings.py @@ -328,6 +328,8 @@ for app_name, app in COLAB_APPS.items(): STATICFILES_DIRS += (template.get('staticdir'),) if template.get('templatesdir'): TEMPLATE_DIRS += (template.get('templatesdir'),) + if template.get('localesdir'): + LOCALE_PATHS += (template.get('localesdir'),) import sys sys.path.insert(0, '/etc/colab/') -- libgit2 0.21.2