title: How can I clean up database changes made in django-nose test functions?
body: <p>We write our test suite using nose function tests for a variety of reasons.</p>
  
  <p>When running the test suite for our Django application, we would like to avoid leaking any data out of these tests (as with <code>django.test.TestCase</code>), because that leads to coupling and hard to diagnose failures.</p>
  
  <p>The most obvious means of solving this is a decorator which we can just wrap around tests that we want to be cleaned-up after, but I'm not married to that if a different solution can get us what we want.</p>
  
  <p>We run on PostgreSQL, so Postgres-specific solutions would be fine.</p>