title: How to configure TASK_SERIALIZER with django-celery
body: <p>I'm using django-celery and I'd like to set the <code>TASK_SERIALIZER</code> to JSON instead of pickle.</p>
  
  <p>I can do this on a per-method basis by changing my task decorators from</p>
  
  <pre><code>@task
  </code></pre>
  
  <p>to </p>
  
  <pre><code>@task(serializer="json")
  </code></pre>
  
  <p>But I'd like to do it globally.  Setting </p>
  
  <pre><code>TASK_SERIALIZER="json"
  </code></pre>
  
  <p>in <code>settings.py</code> doesn't work.  Trying to run </p>
  
  <pre><code>import celery
  celery.conf.TASK_SERIALIZER="json"
  </code></pre>
  
  <p>(as implied <a href="http://celeryproject.org/docs/reference/celery.conf.html" rel="noreferrer">here</a>) results in </p>
  
  <pre><code>AttributeError: 'module' object has no attribute 'conf'
  </code></pre>
  
  <p>Any idea how to configure this setting when running celery through django?</p>