def render_error(request, domain, message):
    messages.error(request, _(message))
    return HttpResponseRedirect(base.ImportCases.get_url(domain=domain))
Return the smallest `n` elements.
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/importer/views.py/render_error--crossover with--dataset/ETHPy150Open pydata/pandas/pandas/core/series.py/Series.nsmallest