[Tutor] ecommerce.py

Kent Johnson kent37 at tds.net
Tue Aug 12 13:01:19 CEST 2008

On Tue, Aug 12, 2008 at 1:41 AM, Christopher Spears
<cspears2002 at yahoo.com> wrote:
> I am not sure how to handle putting Widgets into a Cart.  Somehow, I need the user to be able to select the Cart he or she wants and then put Widgets in it.  Any hints?

You figured out how to put a Cart in a User, I guess you want
something similar - a cart should have a list of widgets.

Maybe the problem asks for it, but usually an online shop has just one
cart per user and the cart is created for you when you ask to buy
something. If you use that design it might be simpler.


More information about the Tutor mailing list