view backend.py @ 152:8e75c12b1cc9

Search preview changes: - Typing queries in the search box now runs n-gram searches with the `whoosh` indexer. - Search preview matches page titles and shows a drop-down list of pages. Fixed naming collision problem with `whoosh` indexer. Fixed inheritance problem with `elastic` indexer.
author Ludovic Chabant <ludovic@chabant.com>
date Mon, 23 Dec 2013 13:29:00 -0800
parents 87606db8c641
children a4a64d6b66cb
line wrap: on
line source

import logging
from celery import Celery


logging.basicConfig(level=logging.DEBUG)


app = Celery(
        'wikked',
        broker='amqp://',
        backend='amqp://',
        include=['wikked.tasks'])

if __name__ == '__main__':
    app.start()