def blast(request, pk):
    try:
        b = prepare_blasts(
            Blast.objects.filter(pk = pk), request.user
        )[0]
    except __HOLE__:
        raise Http404
    return render(request, 'blast.html', {
        'blast': b,
        'is_single': True
    })
dataset/ETHPy150Open simonw/bugle_project/bugle_project/bugle/views.py/blast