title: Renaming an app with Django and South
body: <p>I am renaming an application to a more suitable name.  In doing so, I want to ensure that <a href="http://south.aeracode.org/" rel="nofollow noreferrer">South</a> properly migrates the database (renames database tables and changes references in django_content_type or south_migrationhistory).  I know how to <a href="https://stackoverflow.com/questions/1258130/how-do-i-migrate-a-model-out-of-one-django-app-and-into-a-new-one">migrate a model to a different app</a>, but when I try rename the app itself, South does not recognize the migration history properly.</p>
  
  <p><strong>Undesirable solution</strong>: In renaming <code>old_app</code> to <code>new_app</code> I could leave <code>old_app/migrations</code> intact and add new migrations to this directory to migrate the database to reference <code>new_app</code>.</p>
  
  <p>If possible I would prefer to delete the directory <code>old_app</code> entirely.  I have not yet thought of a better solution to this problem.</p>
  
  <p>What is the best way to rename an app with Django South without losing data?</p>