On 2/23/07, Seth Buntin <[EMAIL PROTECTED]> wrote:
>
> So I can have for instance:
>
>         request.session["order_items"] = []
>
> and then in different view I can have:
>
>         request.session["order_items"].append(1)
>
> and that append to the session variable?

yes, but the session itself doesn't know that you modified it, so you
will have to save it yourself, see
http://www.djangoproject.com/documentation/sessions/#when-sessions-are-saved

>
>
> >
>


-- 
Honza Kr�l
E-Mail: [EMAIL PROTECTED]
ICQ#:   107471613
Phone:  +420 606 678585

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to