rohit-clootrack / linting-test

Unused variable found PYL-W0612
Anti-pattern
Major
a year agoa year old
 9
10def _update_or_create_site_with_sequence(site_model, connection, domain, name):
11    """Update or create the site with default ID and keep the DB sequence in sync."""
12    site, created = site_model.objects.update_or_create(13        id=settings.SITE_ID,
14        defaults={
15            "domain": domain,