Message ID | 20111011103514.21793.11907.launchpad@ackee.canonical.com |
---|---|
State | Accepted |
Headers | show |
=== modified file 'lava_server/settings/development.py' --- lava_server/settings/development.py 2011-10-11 09:58:00 +0000 +++ lava_server/settings/development.py 2011-10-11 09:58:59 +0000 @@ -156,7 +156,11 @@ STATICFILES_DIRS = [('lava-server', os.path.join(PROJECT_SRC_DIR, 'htdocs'))] -INSTALLED_APPS += ['devserver'] +try: + import devserver + INSTALLED_APPS += ['devserver'] +except ImportError: + pass # Login redirects back to home LOGIN_REDIRECT_URL = '/'