Re: Looking for a session cart

2013-01-22 Thread frocco
Thanks, I tried it last night and it seems like a fit for me, porting my PHP app logic. On Monday, January 21, 2013 4:24:50 PM UTC-5, somecallitblues wrote: > > Use django-cart. It does store the cart content in db but it stores the > session as well, so it will nicely match the user to their c

Re: Looking for a session cart

2013-01-21 Thread Mario Gudelj
Use django-cart. It does store the cart content in db but it stores the session as well, so it will nicely match the user to their cart content according to the cart id stored inside a cookie. It's a breeze to implement with any product model. I highly recommend it. On 22 Jan, 2013 7:43 AM, "frocco

Re: Looking for a session cart

2013-01-21 Thread frocco
Thanks, I need to look at this, not sure how django-cart knows what records are for each user logged in. On Monday, January 21, 2013 11:12:01 AM UTC-5, Stefano Probst wrote: > > > But this is what > "sessions"does. > By default a sess

Re: Looking for a session cart

2013-01-21 Thread Stefano Probst
But this is what "sessions"does. By default a session is saved in the database but you can move it also in a cache (https://docs.djangoproject.com/en/1.4/topics/http/sessions/#using-cached-sessions ). Memcached is realy performant.

Re: Looking for a session cart

2013-01-21 Thread frocco
I found django-cart, but it seems to write to the database. I want to keep items in session until they checkout. Thanks for the link to Shop, I will take a look at that also. On Monday, January 21, 2013 8:54:00 AM UTC-5, Stefano Probst wrote: > > Did you mean something like > "sessions"

Re: Looking for a session cart

2013-01-21 Thread Stefano Probst
There is also a finished Shop application if you want looking how other solve this Problem. -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/

Re: Looking for a session cart

2013-01-21 Thread Stefano Probst
Did you mean something like "sessions"( example )? Am Montag, 21. Januar 2013 13:50:13 UTC+1 schrieb frocco: > > Hello, > > I am learning django and want to port an a

Looking for a session cart

2013-01-21 Thread frocco
Hello, I am learning django and want to port an app over from PHP. In PHP, I use a session cart to store items purchased. Is there anything for django? -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit ht