

def chart_resource_html_js(request, project_slug, resource_slug, template_name):
    resource = get_object_or_404(Resource, slug=resource_slug, project__slug=project_slug)
    if resource.project.private:
        raise PermissionDenied
    return render_to_response(template_name, {
        'project': resource.project,
        'resource': resource_slug,
    }, RequestContext(request, {
        
    }, [site_url_prefix_processor]))

dataset/ETHPy150Open rvanlaar/easy-transifex/src/transifex/transifex/addons/charts/views.py chart_resource_html_js/VarMisuse@60/89 `resource`->`resource_slug`