Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #15622 -- Clear content type cache to avoid problems with subse…

…quence TransactionTestCases. Thanks to zyga for the report

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15867 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 354aa941b6f883a652ee005014579b26fd7542e6 1 parent b49ee91
Russell Keith-Magee authored

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. 1  django/contrib/contenttypes/tests.py
1  django/contrib/contenttypes/tests.py
@@ -22,6 +22,7 @@ def setUp(self):
22 22
     def tearDown(self):
23 23
         settings.DEBUG = self.old_DEBUG
24 24
         Site._meta.installed = self.old_Site_meta_installed
  25
+        ContentType.objects.clear_cache()
25 26
 
26 27
     def test_lookup_cache(self):
27 28
         """

0 notes on commit 354aa94

Please sign in to comment.
Something went wrong with that request. Please try again.