title: How to to override database settings in a Django TestCase
body: <p>I am writing test cases for a Django application. I want to use different databases for different test cases. Hence, I want to override the default database settings for a particular test case. <br></p>
  
  <p>e.g.</p>
  
  <pre><code>class FooTest(TestCase):
      fixtures = ['df_fixtures1.json']
  
      def setUp(self):
          print "SETTING UP?"
  
      def tearDown(self):
          print "Tear Down"
  
      @override_settings(DATABASES['default'] = {'ENGINE': 'django.db.backends.sqlite3'})
      def do_foo_related(self):
          Foo task.....
          pass
  </code></pre>
  
  <p>This does not work, but this is what I want. Is there anyway to do something like this?</p>
  
  <p>Edit: I am using django1.5</p>