Mercurial > wikked
annotate backend.py @ 174:298b9f5ccdac
Common code for fallback when Bcrypt is not available.
Quick workaround (changing current working directory) for correctly initializing
the Flask application.
WSGI helper to easily bootstrap a website for production.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Tue, 28 Jan 2014 20:34:11 -0800 |
parents | a4a64d6b66cb |
children |
rev | line source |
---|---|
164 | 1 from wikked.tasks import app |
138
df04e6a875ba
Added Celery-powered background updates to wiki pages.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
2 |
df04e6a875ba
Added Celery-powered background updates to wiki pages.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
3 if __name__ == '__main__': |
df04e6a875ba
Added Celery-powered background updates to wiki pages.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
4 app.start() |
df04e6a875ba
Added Celery-powered background updates to wiki pages.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
5 |