Re: Display user.username in all apps without passing RequestContext

2009-09-17 Thread Tom
Hi Gabriel, thank you for your fast response. The decorator works great! On Sep 17, 3:43 pm, "Gabriel ." wrote: > On Thu, Sep 17, 2009 at 10:28 AM, Tom > wrote: > > > Hi group, > > > my project has a base template used by all apps. I want to show > > information about the currently authentic

Re: Display user.username in all apps without passing RequestContext

2009-09-17 Thread Gabriel .
On Thu, Sep 17, 2009 at 10:28 AM, Tom wrote: > > Hi group, > > my project has a base template used by all apps. I want to show > information about the currently authenticated user like "You are > currently logged in as user 'Pete'" in all my apps. > > Is there a way to display that information wi

Display user.username in all apps without passing RequestContext

2009-09-17 Thread Tom
Hi group, my project has a base template used by all apps. I want to show information about the currently authenticated user like "You are currently logged in as user 'Pete'" in all my apps. Is there a way to display that information without having to pass context_instance=RequestContext(request