Hi Karen, thanks for reply. I am looking in log files that I believe are created by apache, at least they are created via usual apache statement like:
... CustomLog /var/www/mysite/logs/access.log combined ... In this sense, yes, I do see only a single HTTP-request in logs, but can track multiple calls. How can I register those multiple calls? Easily, I send only one single email notification per veiw function call, but I receive multiple emails after one HTTP-request. best regards -- Valery A.Khamenya On Wed, May 27, 2009 at 4:09 PM, Karen Tracey <kmtra...@gmail.com> wrote: > On Wed, May 27, 2009 at 7:59 AM, Valery Khamenya <khame...@gmail.com>wrote: > >> Hi Graham, >> >> I do not do touch anymore. However multiple view func calls per single >> HTTP-request still happen. >> > > It's far more likely that Django is being routed multiple HTTP requests > than that Django is calling your view function multiple times for a single > HTTP request. Every time I recall someone reporting this type of thing it > turns out that their templates have something specified that is causing > unexpected additional HTTP requests. If you turn on access logging in > Apache, do you really see only a single request resulting in multiple > executions of your view? > > Karen > > > > --~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---