title: django shopping cart calculate total in model save or view function
body: <p>I'm trying to create custom shopping cart functionality. Basket in chart need to have total_price field. This is my first django shop App, so question is what is the better way, based on your experience, to calculate basket total. To calculate it in the model save or to create get_total() function outside the model in view?</p>