I was initially thinking that if you knew which pages you wanted to track, you could capture those requests via signals, rather than via requets to a file.
But if it's an explicit requirement to track hits to that file, then that wouldn't work. Is the file a transparent gif that's solely used to track hits? Is there any reason you can't track your hits in views prior to template rendering? On Wed, Nov 19, 2008 at 12:34 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > david, > > its a biz requirement for me to track what http requests are being > made to this file. used in generating internal metric reports. I guess > i'll have to dig into the django code to see how signals are used..do > you know of any example where the request_finished signal is used ? > > thanks, > -p > > On Nov 18, 10:23 pm, "David Zhou" <[EMAIL PROTECTED]> wrote: >> On Tue, Nov 18, 2008 at 9:40 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >> >> > david, >> >> > can you illustrate how ? sorry -- havent worked with django signals >> > earlier >> >> I might be misunderstanding your need to track requests to that file, >> but if you're using it to track requests in Django in general, you may >> be able to do that by using a listening for a request finished signal, >> and doing something with it. >> >> What are you specifically trying to do by tracking which users >> requested the file? >> >> -- >> --- >> David Zhou >> [EMAIL PROTECTED] > > > -- --- David Zhou [EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---