From c7f85a5704a2da33748f04e0447b681652318ac4 Mon Sep 17 00:00:00 2001 From: jordan Date: Mon, 22 Aug 2011 14:06:26 +0000 Subject: [PATCH] add support for gunicorn, this will allow the usage of the run_gunicorn management command and will have the settings import issues resolved git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1163 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- settings.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/settings.py b/settings.py index f42268b..a1044e5 100644 --- a/settings.py +++ b/settings.py @@ -123,6 +123,13 @@ try: except: pass +# Try loading Gunicorn web server +try: + import gunicorn + INSTALLED_APPS.append('gunicorn') +except ImportError: + pass + if not DEBUG: try: import rosetta -- 2.45.1