def build_keys(request, database_name, collection_name):
    """Perform the map/reduce to refresh the keys form.
       The display the custom report screen"""
    build_keys_with_mapreduce(database_name, collection_name)
    messages.success(request, _(
        "Successfully completed MapReduce operation. "
        "Key rebuild for custom report complete."))
    return HttpResponseRedirect(reverse("djmongo_show_dbs"))
def build_keys ( request , database_name , collection_name ) : build_keys_with_mapreduce ( database_name , collection_name ) messages . success ( request , _ ( "Successfully completed MapReduce operation. " "Key rebuild for custom report complete." ) ) return HttpResponseRedirect ( reverse ( "djmongo_show_dbs" ) )
Perform the map/reduce to refresh the keys form.
       The display the custom report screen