code: def sync_db():
      
      with cd('/'.join([deployment_root(),'env',env.project_fullname,'project',env.project_package_name,'sitesettings'])):
          venv = '/'.join([deployment_root(),'env',env.project_fullname,'bin','activate'])
          sites = _get_django_sites()
          site_ids = sites.keys()
          site_ids.sort()
          for site in site_ids:
              for settings_file in _sitesettings_files():
                  site_settings = '.'.join([env.project_package_name,'sitesettings',settings_file.replace('.py','')])
                  if env.verbosity:
                      print " * django-admin.py syncdb --noinput --settings=%s"% site_settings
                  output = sudo(' '.join(['source',venv,'&&',"django-admin.py syncdb --noinput --settings=%s"% site_settings]),
                                user='site_%s'% site)
                  if env.verbosity:
                      print output
docs: Runs the django syncdb command