Django

Code

Changeset 7723

Show
Ignore:
Timestamp:
06/22/08 01:34:17 (5 months ago)
Author:
russellm
Message:

Fixed #7514 -- Added code to clear the site cache on sync. This shouldn't have any effect on regular usage, but it does correct an error in the test suite. Thanks to Marc Fargas for the fix.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/contrib/sites/management.py

    r4265 r7723  
    1414        s = Site(domain="example.com", name="example.com") 
    1515        s.save() 
     16    Site.objects.clear_cache() 
    1617 
    1718dispatcher.connect(create_default_site, sender=site_app, signal=signals.post_syncdb)