title: Celery Task class with DRF serializer
body: <p>I tried using Celery Task &amp; Django rest framework serializer in same class with multiple inheritance.</p>
  
  <pre><code>from celery import Task
  class ReceiveSerializer(Task, serializers.Serializer):
      def run(self, source, *args, **kwargs):
          self.save()
      def save(self, **kwargs):
          # call long running save method
  </code></pre>
  
  <p>I got error,</p>
  
  <pre><code>  File "&lt;&gt;\serializers.py", line 217, in &lt;module&gt;
      class ReceiveSerializer(Task, serializers.Serializer):
    File "&lt;&gt;\workspace\www\lib\site-packages\celery-3.1.20-py2.7.egg\celery\app\task.py", line 199, in __new_
  _
      tasks.register(new(cls, name, bases, attrs))
  TypeError: Error when calling the metaclass bases
      metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases
  </code></pre>
  
  <p>The save method has to create long list of objects in db (some times more than 5 minutes). I don't want user to wait for long time.
  Is there any way to do this. </p>