Merge pull request #161 from gazpachoking/update_flask
Update flask versions
This commit is contained in:
commit
a47d7e2471
14 changed files with 31 additions and 32 deletions
|
@ -14,7 +14,7 @@ def whoosh(app):
|
|||
|
||||
|
||||
def elasticsearch(app):
|
||||
from flask.ext.elastic import Elastic
|
||||
from flask_elastic import Elastic
|
||||
fields = app.config.get('ELASTICSEARCH_FIELDS')
|
||||
return ElasticSearch(Elastic(app), fields)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue