From d38f2bd2f8e7e89c23d351216981573b52b2c369 Mon Sep 17 00:00:00 2001 From: Greg Taylor Date: Sun, 14 Dec 2008 01:12:43 +0000 Subject: [PATCH] --- settings.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/settings.py b/settings.py index b63ff1f447..a4c08be49d 100755 --- a/settings.py +++ b/settings.py @@ -175,6 +175,14 @@ INSTALLED_APPS = ( 'webapps.website', ) +# If django_extensions is present, import it and install it. Otherwise fail +# silently. +try: + import django_extensions + INSTALLED_APPS = INSTALLED_APPS + ('django_extensions',) +except ImportError: + pass + """ Importing everything from local_settings.py overrides the settings in this file with the settings specified in local_settings.py. Any configuration