def homepage(request):
    return render(request, 'homepage.html', {
        'blasts': prepare_blasts(
            Blast.objects.all().order_by('-created')[:NUM_ON_HOMEPAGE],
            request.user, bundle=True
        ),
        'more_blasts': Blast.objects.count() > NUM_ON_HOMEPAGE,
        'initial_blast': request.GET.get('blast', ''),
    })
dataset/ETHPy150Open simonw/bugle_project/bugle_project/bugle/views.py/homepage/original