title: Django: How to create a model dynamically just for testing
body: <p>I have a Django app that requires a <code>settings</code> attribute in the form of:</p>
  
  <pre><code>RELATED_MODELS = ('appname1.modelname1.attribute1',
                    'appname1.modelname2.attribute2', 
                    'appname2.modelname3.attribute3', ...)
  </code></pre>
  
  <p>Then hooks their post_save signal to update some other fixed model depending on the <code>attributeN</code> defined.</p>
  
  <p>I would like to test this behaviour and tests should work even if this app is the only one in the project (except for its own dependencies, no other wrapper app need to be installed). How can I create and attach/register/activate mock models just for the test database? (or is it possible at all?)</p>
  
  <p>Solutions that allow me to use test fixtures would be great.</p>