If I set a session variable in Django, like:
request.session[\"name\"] = \"name\"
Is there a way I can access it from within a template, o
request.session is a dictionary like any other, so you just use the normal template mechanism for attributes and members:
{{ request.session.name }}
Don't forget to pass the request into the template context, or even better ensure you are using RequestContext and have the request context processor enabled. See the documentation.