def recipe_url(id):
    'Construct URL for a single recipe based on its ID'
    return reverse('recipe:recipe-detail', args=[id])
Construct URL for a single recipe based on its ID
def recipe_url(id):
    
    return reverse('recipe:recipe-detail', args=[id])