Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Fixed #7514 -- Added code to clear the site cache on sync. This shoul…

…dn't have any effect on regular usage, but it does correct an error in the test suite. Thanks to Marc Fargas for the fix.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit b83fcacfcc42f4288712d3ffe59c87b847936f61 1 parent b1851cc
@freakboy3742 freakboy3742 authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  django/contrib/sites/
1  django/contrib/sites/
@@ -13,5 +13,6 @@ def create_default_site(app, created_models, verbosity):
print "Creating Site object"
s = Site(domain="", name="")
+ Site.objects.clear_cache()
dispatcher.connect(create_default_site, sender=site_app, signal=signals.post_syncdb)

0 comments on commit b83fcac

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