def METHOD_NAME(request, pk, slug=None):
    context = {}
    ingredient = cache.get(cache_mapper.get_ingredient_key(int(pk)))
    if not ingredient:
        ingredient = get_object_or_404(Ingredient, pk=pk)
        cache.set(cache_mapper.get_ingredient_key(ingredient), ingredient)
    context['ingredient'] = ingredient
    context['image'] = ingredient.get_image(request)
    context['form'] = UnitChooserForm(
        data={
            'ingredient_id': ingredient.id,
            'amount': 100,
            'unit': None
        }
    )
    context['show_shariff'] = True
    return render(request, 'ingredient/view.html', context)