def update_site_backward(apps, schema_editor):
 Site = apps.get_model(u'sites', u'Site')
 Site.objects.update_or_create(id=settings.SITE_ID, defaults={u'domain': u'example.com', u'name': u'example.com'})

def update_site_backward ( apps , schema_editor ) : Site = apps . get_model ( u'sites' , u'Site' ) Site . objects . update_or_create ( id = settings . SITE_ID , defaults = { u'domain' : u'example.com' , u'name' : u'example.com' } )
revert site domain and name to default .