Waylan Limberg wrote: > On 10/4/06, Patrick J. Anderson <[EMAIL PROTECTED]> wrote: >> Hi, everyone! >> >> I have a question I've been trying to find answers to in the docs, but >> perhaps I'm not looking in the right places, because I can't find it. >> >> I'm wondering about the use of templatetags in project instead of >> application scope. I put my applications in 'apps' subdirectory and >> under each I created 'templatetags' directory to hold my template tags. >> >> I have a need for a tag that would display user and user-related >> information (no. of posts and comments, etc.) in header of each page and >> I thought that I could create a template tag for this purpose, which I >> would load in the base template. >> >> I guess the question is simple : where should this template tag be >> stored and can I import current RequestContext object to it? >> >> > This was just answered the other day: > > http://groups.google.com/group/django-users/browse_thread/thread/49e9669c64e353b2/ > >
Well, yeah, I could put that tag probably in any installed app. What about request object being available inside that tag, so to speak? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---