add to cart with ajax

following a tutorial to add items to cart in Django sessions using ajax and jQuery
but the items I added are still there after deleting all the item in my Django database
how do i clear these sessions

If you’re just looking to remove data associated with your cart, you can delete items directly using the del statement. See How to use sessions | Django documentation | Django.