Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…quence TransactionTestCases. Thanks to zyga for the report

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 354aa941b6f883a652ee005014579b26fd7542e6 1 parent b49ee91
@freakboy3742 freakboy3742 authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  django/contrib/contenttypes/
1  django/contrib/contenttypes/
@@ -22,6 +22,7 @@ def setUp(self):
def tearDown(self):
settings.DEBUG = self.old_DEBUG
Site._meta.installed = self.old_Site_meta_installed
+ ContentType.objects.clear_cache()
def test_lookup_cache(self):
Please sign in to comment.
Something went wrong with that request. Please try again.