MCPcopy Index your code
hub / github.com/Flagsmith/flagsmith / update_site

Method update_site

api/users/forms.py:38–41  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

36 )
37
38 def update_site(self): # type: ignore[no-untyped-def]
39 Site.objects.filter(id=settings.SITE_ID).update(
40 name=self.cleaned_data["site_name"], domain=self.cleaned_data["site_domain"]
41 )

Callers 1

form_validMethod · 0.80

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected