I have the following view: def showcart(request, style_id, choice_id): s = Style.objects.get(id=style_id) c = Choice.objects.get(id=choice_id) x = request.session ?? # I want to add s and c to my session? return render_to_response('show_test.html', {'mychoice': x})
////// Everytime the user adds something to their shopping cart then this view will be accessed. I want the view to store the two parameters (s and c) into my request.session so that the data in the session can be showed when the website visitor checks out. However, I'm not sure how to add these parameters to my session variable. I'm also not sure how to display all the session data. Thanks for any help --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---