(request, domain, instance_id)
return HttpResponseRedirect(reverse('render_form_data', args=[domain, instance_id]))
Re-save the form to have it re-processed by pillows
Re-save the form to have it re-processed by pillows
Re - save the form to have it re - processed by pillows
def resave_form_view(request, domain, instance_id):
    """Re-save the form to have it re-processed by pillows
    """
    from corehq.form_processor.change_publishers import publish_form_saved
    instance = safely_get_form(request, domain, instance_id)
    assert instance.domain == domain
    resave_form(domain, instance)
    messages.success(request, _("Form was successfully resaved. It should reappear in reports shortly."))
    return HttpResponseRedirect(reverse('render_form_data', args=[domain, instance_id]))
def resave_form_view ( request , domain , instance_id ) : from corehq . form_processor . change_publishers import publish_form_saved instance = safely_get_form ( request , domain , instance_id ) assert instance . domain == domain resave_form ( domain , instance ) messages . success ( request , _ ( "Form was successfully resaved. It should reappear in reports shortly." ) ) return HttpResponseRedirect ( reverse ( 'render_form_data' , args = [ domain , instance_id ] ) )