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:
parent
2acd8c9881
commit
3bb4544b26
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user