def update_site_forward(apps, schema_editor):
 Site = apps.get_model(u'sites', u'Site')
 Site.objects.update_or_create(id=settings.SITE_ID, defaults={u'domain': u'{{cookiecutter.domain_name}}', u'name': u'{{cookiecutter.project_name}}'})

def update_site_forward ( apps , schema_editor ) : Site = apps . get_model ( u'sites' , u'Site' ) Site . objects . update_or_create ( id = settings . SITE_ID , defaults = { u'domain' : u'{{cookiecutter.domain_name}}' , u'name' : u'{{cookiecutter.project_name}}' } )
set site domain and name .