]> git.openstreetmap.org Git - osqa.git/blobdiff - settings.py
Simple method to hold the current request for special cases.
[osqa.git] / settings.py
index f42268b6accfb6700c2fcaa0cbf40e6647ecfb6b..a1044e559319e6300d72ffeb2fbf51028efa509c 100644 (file)
@@ -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