lodgeit/lodgeit.wsgi
Takeshi Kanemoto 3bb4544b26 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
2015-11-27 07:31:39 +00:00

10 lines
293 B
Python

# Example lodgeit file
from lodgeit.application import make_app
application = make_app(
# the path to the database
dburi='sqlite:////path/to/lodgeit.db',
# generate with os.urandom(30)
secret_key='\x05\x82bgI\x99\xaay\xa5o\xef\xac\xa1\x93>Db\x04\xf1\x8b|\x7fT\x87|]LcM\x9d'
)