Major reorganization of the soc svn repo, to merge into a single App Engine
image (to make development easier, now that only a single app will run all
Google Open Source programs).
"""Creates the default Site object."""from django.dispatch import dispatcherfrom django.db.models import signalsfrom django.contrib.sites.models import Sitefrom django.contrib.sites import models as site_appdef create_default_site(app, created_models, verbosity): if Site in created_models: if verbosity >= 2: print "Creating example.com Site object" s = Site(domain="example.com", name="example.com") s.save()dispatcher.connect(create_default_site, sender=site_app, signal=signals.post_syncdb)