Tuesday, February 15, 2011

Re: ID of each request

> I am not aware of anything, but you can easily make a piece of middleware
> which generated a UUID then exposed this in the request object :)

Yes I could, but then I must provide to all parts of my code request
object. I don't know how to build something like "global variable",
which will be safe regardless on server configuration (many
procesesses/threads of my app).

Michal

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate