Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/m/o/modoboa-1.1.1/modoboa/extensions/admin/views/identity.py   modoboa(Download)
            if form.is_valid(optional_only=True):
                events.raiseEvent("AccountModified", account, form.account)
                form.save()
                return render_to_json_response(_("Account updated"))
        return render_to_json_response({'form_errors': form.errors}, status=400)

src/m/o/modoboa-HEAD/modoboa/extensions/admin/views/identity.py   modoboa(Download)
            if form.is_valid(optional_only=True):
                events.raiseEvent("AccountModified", account, form.account)
                form.save()
                return render_to_json_response(_("Account updated"))
        return render_to_json_response({'form_errors': form.errors}, status=400)