I'm also getting an Index Error, "list index out of range" for the
"request.session['cart'][1] += 1" line. I can't figure out what's
wrong.
On Feb 9, 3:02 am, lnysrogh <lordnysr...@gmail.com> wrote:
> Thank you so much. That helped a lot. Such a simple mistake.
>
14 pm, Andrew Ingram <a...@andrewingram.net> wrote:
> lnysrogh wrote:
> > Hello. I'm new to Django (and web development in general), and this is
> > my first post here. Hope someone can help me.
>
> > I'm trying to build a shopping cart, and my idea is to store the
&
Hello. I'm new to Django (and web development in general), and this is
my first post here. Hope someone can help me.
I'm trying to build a shopping cart, and my idea is to store the
product information (id and quantity) in a session when I add the
product to the shopping cart, and retrieve it to
3 matches
Mail list logo