Although its not your line, it maybe a good idea to use ```reverse('product_detail', args=[product_entry.id])```