Commit ef766ef1b980e3d516e477ed1f53b6bab06a3931

Authored by Gust
1 parent 3c88b198

Load plugin_configs.py to configure apps GLOBALS

Signed-off-by: Gustavo Jaruga <darksshades@gmail.com>
Signed-off-by: Alexandre Barbosa <alexandreab@live.com>
Showing 1 changed file with 7 additions and 0 deletions   Show diff stats
colab/settings.py
... ... @@ -328,3 +328,10 @@ for app_name, app in COLAB_APPS.items():
328 328 STATICFILES_DIRS += (template.get('staticdir'),)
329 329 if template.get('templatesdir'):
330 330 TEMPLATE_DIRS += (template.get('templatesdir'),)
  331 +
  332 +import sys
  333 +sys.path.insert(0, '/etc/colab/')
  334 +try:
  335 + from plugin_configs import *
  336 +except ImportError:
  337 + pass
... ...