> If you have activated the request context processor, the request is
> *automatically* passed to the template.  (That was the point of all
> this, right?)
>
> So to display the value of request.session['City'], for example, you'd
> use this in your template:
>
>   {{ request.session.City }}
>
> Arien

Yeah I thought it would do that but it really doesn't... here's what i
have...

in my view I have:


from django.template import RequestContext
from django.template import Template, Context

[... session variables set here...]

return render_to_response('step3.html',
context_instance=RequestContext(request))




and in my template i have:

        <span class="reviewitem"><b>Account #:</b>&nbsp;
{{ request.session.AccountNum }}</span><br />


it prints nothing to the screen unless i explicitly pass a variable.
--~--~---------~--~----~------------~-------~--~----~
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