Shopping cart exercise using the python django framework