title: Celery + Redis tasks in different files
body: <p>When I run Celery from the command line I can see only the tasks that are in the same file as the Celery object but not those in other files.</p>
  
  <p>The structure of the project is the following:</p>
  
  <pre><code>celery_test
      celery_tasks
          __init__.py
          celery_app.py
          async
              __init__.py
              tasks.py
          marker
              __init__.py
              tasks.py
  </code></pre>
  
  <p>The content of the files is as follows</p>
  
  <pre><code>celery_app.py
  
  from __future__ import absolute_import
  from celery import Celery
  
  celery_application = Celery('celery_test', backend='redis://localhost', broker='redis://localhost')
  
  @celery_application.task
  def test_celery():
      print 4
  </code></pre>
  
  <p>And any of the <code>tasks.py</code> files has something like this</p>
  
  <pre><code>async/tasks.py
  
  from __future__ import absolute_import
  import time
  
  from celery_tasks.celery_app import celery_application
  
  
  @celery_application.task
  def async_test():
      print 'Start async_test'
      time.sleep(3)
      print 'Finish async_test'
  </code></pre>
  
  <p>When I run Celery as follows</p>
  
  <pre><code>celery --app=celery_tasks.celery_app:celery_application worker -l debug
  </code></pre>
  
  <p>I get the following</p>
  
  <pre><code> -------------- celery@LAPTOP-HCR4G00Q v3.1.25 (Cipater)
  ---- **** -----
  --- * ***  * -- Windows-10-10.0.16299
  -- * - **** ---
  - ** ---------- [config]
  - ** ---------- .&gt; app:         celery_test:0x6ff3f28
  - ** ---------- .&gt; transport:   redis://localhost:6379//
  - ** ---------- .&gt; results:     redis://localhost/
  - *** --- * --- .&gt; concurrency: 4 (prefork)
  -- ******* ----
  --- ***** ----- [queues]
   -------------- .&gt; celery           exchange=celery(direct) key=celery
  
  
  [tasks]
    . celery.backend_cleanup
    . celery.chain
    . celery.chord
    . celery.chord_unlock
    . celery.chunks
    . celery.group
    . celery.map
    . celery.starmap
    . celery_tasks.celery_app.test_celery
  </code></pre>
  
  <p>that is just the task that is in the same file as the application.</p>
  
  <p>Any suggestions on how to solve it? I really need to separate the tasks by topics because they are many so that they are in a single file.</p>