title: Django fixtures with specific data
body: <p>I have an app with 3 models that refer to each other in a parent-child way:</p>
  
  <pre><code>class A(Model):
      # ...
  
  class B(Model):
      a = ForeignKey(A)
      # ...
  
  class C(Model):
      b = ForeignKey(B)
      # ...
  </code></pre>
  
  <p>In my production database, I have hundreds objects of type A, with thousands of child objects below it. I now want to create a fixture for only a (specific) handful objects. If I run this command, my output will become huge:</p>
  
  <pre><code>python manage.py dumpdata ca_myapp -o /tmp/my_app_dump.json
  </code></pre>
  
  <p>However, when I restrict the output using this command:</p>
  
  <pre><code>python manage.py dumpdata ca_myapp.A -o /tmp/myapp_dump.json --pks pk1, pk2, pk3
  </code></pre>
  
  <p>Then only the A objects are deserialized, but not their children. How can I easily create a fixture file with a handful of objects and their children?</p>