Commit 57f6e57b88c62a4f6984c5f020d03412bd9ea6a3

Authored by Gust
1 parent ef766ef1

Add custom locale configuration

Signed-off-by: Gustavo Jaruga <darksshades@gmail.com>
Signed-off-by: Alexandre Barbosa <alexandreab@live.com>
Showing 1 changed file with 2 additions and 0 deletions   Show diff stats
colab/settings.py
@@ -328,6 +328,8 @@ for app_name, app in COLAB_APPS.items(): @@ -328,6 +328,8 @@ for app_name, app in COLAB_APPS.items():
328 STATICFILES_DIRS += (template.get('staticdir'),) 328 STATICFILES_DIRS += (template.get('staticdir'),)
329 if template.get('templatesdir'): 329 if template.get('templatesdir'):
330 TEMPLATE_DIRS += (template.get('templatesdir'),) 330 TEMPLATE_DIRS += (template.get('templatesdir'),)
  331 + if template.get('localesdir'):
  332 + LOCALE_PATHS += (template.get('localesdir'),)
331 333
332 import sys 334 import sys
333 sys.path.insert(0, '/etc/colab/') 335 sys.path.insert(0, '/etc/colab/')