hi,

> def list_filter(request):
>     """Update session filter"""
>     # request['filter'] is a hidden field. frankly, I don't know if
> this is really needed.
>     # I added it in case I add another form to the template
>     if request.method == 'POST' and request['filter'] == '1':
>         request.session['filter_title'] = request.POST['title']
>         request.session['filter_genre'] = request.POST['genre']
>         request.session['filter_rating'] = request.POST['rating']
>     return HttpResponseRedirect('/')
>

thanks kai :). is this request['filter'] a django builtin or u just
created it?

james


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