annotate backend.py @ 239:0e87dc411fe9

Better way to manage updating the wiki. * Make the difference between updating just a single page, and updating the whole wiki. * Properly resolve a just-updated page, but postpone resolving all the rest if we're using background updates. * Don't flatten single metas for the web UI.
author Ludovic Chabant <ludovic@chabant.com>
date Tue, 25 Mar 2014 22:09:14 -0700
parents a4a64d6b66cb
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
164
a4a64d6b66cb Fixed various bugs:
Ludovic Chabant <ludovic@chabant.com>
parents: 140
diff changeset
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