On Apr 11, 11:37 am, Panos Laganakos <[EMAIL PROTECTED]> wrote: > I'm wondering if working on a > middleware, `process_view` or something would be the right place to > make the conversion.
Not a middleware, but a context processor. http://www.djangoproject.com/documentation/templates_python/#subclassing-context-requestcontext You write a function that takes a request as an argument (therefore giving you your session) and returns a dictionary of items to be merged into the template's context, which is of course available to your template tag. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---