From ef766ef1b980e3d516e477ed1f53b6bab06a3931 Mon Sep 17 00:00:00 2001 From: Gust Date: Tue, 3 Mar 2015 16:37:12 -0300 Subject: [PATCH] Load plugin_configs.py to configure apps GLOBALS --- colab/settings.py | 7 +++++++ 1 file changed, 7 insertions(+), 0 deletions(-) diff --git a/colab/settings.py b/colab/settings.py index 39025eb..06cb711 100644 --- a/colab/settings.py +++ b/colab/settings.py @@ -328,3 +328,10 @@ for app_name, app in COLAB_APPS.items(): STATICFILES_DIRS += (template.get('staticdir'),) if template.get('templatesdir'): TEMPLATE_DIRS += (template.get('templatesdir'),) + +import sys +sys.path.insert(0, '/etc/colab/') +try: + from plugin_configs import * +except ImportError: + pass -- libgit2 0.21.2