def form_valid(self, form): domain_name = form.cleaned_data['domain_name'] diaspora.setup_domain_name(domain_name) return super().form_valid(form)