Return a local dash app asset, served up through the Django static framework

def app_assets(request, **kwargs):
    'Return a local dash app asset, served up through the Django static framework'
    get_params = request.GET.urlencode()
    extra_part = ""
    if get_params:
        redone_url = "/static/dash/assets/%s?%s" %(extra_part, get_params)
    else:
        redone_url = "/static/dash/assets/%s" % extra_part

    return HttpResponseRedirect(redirect_to=redone_url)