On 3/17/06, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > > On Friday 17 Mar 2006 3:32 pm, PythonistL wrote: > > I have a table that stores a shopping cart. But do you think that > > storing the shopping cart in a dictionary in the session would be > > a better solution? > > yes - then, when all is done, you can save it into one or more > tables. At least that is the conventional way - maybe the django > way is different. One problem with table is that if he puts two > things in the cart and then goes away and doesnt come back, you > need to clean all those stale tables
I think is sometimes not a problem. Because you maybe want to save the information about shopping cart, and when the user login later, he can continues his shopping. -- I like python! My Blog: http://www.donews.net/limodou NewEdit Maillist: http://groups.google.com/group/NewEdit --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---