(request, action_id)
return render(
        request,
        'actstream/detail.html',
        {
            'action': get_object_or_404(models.Action, pk=action_id)
        }
    )
``Action`` detail view (pretty boring, mainly used for get_absolute_url)
``Action`` detail view (pretty boring, mainly used for get_absolute_url)
Action detail view ( pretty boring mainly used for get_absolute_url )
def detail(request, action_id):
    """
    ``Action`` detail view (pretty boring, mainly used for get_absolute_url)
    """
    return render(
        request,
        'actstream/detail.html',
        {
            'action': get_object_or_404(models.Action, pk=action_id)
        }
    )
def detail ( request , action_id ) : return render ( request , 'actstream/detail.html' , { 'action' : get_object_or_404 ( models . Action , pk = action_id ) } )