title: How to implement Celery using Flask application factory pattern
body: <p>I am having issues with implementing celery with python flask application factory app</p>
  
  <p>I have intend creating an instance of the Celery app from the app init file as below:</p>
  
  <pre><code>from celery import Celery
  celery = Celery('myapp', broker='redis://localhost:6379/0', backend='redis://localhost:6379/0')
  </code></pre>
  
  <p>I can't use Celery from other blueprint when called.</p>