From 3bb4544b261b5944a29c0b86ba93b00b6a61a7e9 Mon Sep 17 00:00:00 2001 From: Takeshi Kanemoto Date: Fri, 27 Nov 2015 08:15:24 +0100 Subject: [PATCH] Import make_app from lodgeit.application instead of lodgeit The commit that fixes PEP-8 errors removed the possibility to import make_app from lodgeit as a shorthand. This breaks lodgeit.wsgi, while manage.py works fine as it imports make_app from lodgeit.application directly. Fix lodgeit.wsgi so that it imports make_app from lodgeit.application instead, making it more consistent with manage.py. Ref: fbb61e9c1d6f4962b43787fbf636339ac9659cbb Change-Id: Ic4dfc118712d2c88886416af0e5ad003b8af017d --- lodgeit.wsgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lodgeit.wsgi b/lodgeit.wsgi index e98c075..d409feb 100644 --- a/lodgeit.wsgi +++ b/lodgeit.wsgi @@ -1,5 +1,5 @@ # Example lodgeit file -from lodgeit import make_app +from lodgeit.application import make_app application = make_app( # the path to the database