def METHOD_NAME(self):
    group = Group.objects.create(name="Test group")
    edit_payload = {
        "name": "Other",
        "language_selection": "1",
        "project_selection": "1",
        "autogroup_set-TOTAL_FORMS": "0",
        "autogroup_set-INITIAL_FORMS": "0",
    }
    response = self.client.get(group.get_absolute_url())
    self.assertEqual(response.status_code, 403)
    # Edit not allowed
    response = self.client.post(group.get_absolute_url(), edit_payload)
    group.refresh_from_db()
    self.assertEqual(group.name, "Test group")
    self.make_superuser()
    response = self.client.get(group.get_absolute_url())
    self.assertContains(response, "id_autogroup_set-TOTAL_FORMS")
    response = self.client.post(group.get_absolute_url(), edit_payload)
    self.assertRedirects(response, group.get_absolute_url())
    group.refresh_from_db()
    self.assertEqual(group.name, "Other")