from django.templatetags.static import static
url = static("path/to/file.jpg")
def home(request):
item = Product.objects.filter(is_active=True)
return render(request, 'landing/home.html', {"item": item})
item.name.all()
?$('.deleteCart').click( function(e){...
$('body').on('click', '.deleteCart', function(e){...
self.total_price = self.nmb * self.price_per_item
self.order.total_price = self.nmb * self.price_per_item