def update_site_backward(apps, schema_editor):
    Site = apps.get_model("sites", "Site")
    Site.objects.update_or_create(
        id=settings.SITE_ID,
        defaults={
            "domain": "example.com",
            "name": "example.com"
        }
    )
Revert site domain and name to default.
dataset/ETHPy150Open jayfk/fundingoss.com/funding/contrib/sites/migrations/0002_set_site_domain_and_name.py/update_site_backward