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: fbb61e9c1d
Change-Id: Ic4dfc118712d2c88886416af0e5ad003b8af017d
This commit is contained in:
Takeshi Kanemoto 2015-11-27 08:15:24 +01:00
parent 2acd8c9881
commit 3bb4544b26

View File

@ -1,5 +1,5 @@
# Example lodgeit file # Example lodgeit file
from lodgeit import make_app from lodgeit.application import make_app
application = make_app( application = make_app(
# the path to the database # the path to the database