Sorry one more thing

Sometimes it starts with

check = False

Its happening at random time.


--RJ

On Sat, Aug 14, 2010 at 7:36 PM, rahul jain <jainwolver...@gmail.com> wrote:
> Hi there !
>
> Some weird problem happening with admin actions.
>
> My admin action create threads which access a shared variable.
> Those threads change the state of the variable for ex
>
> check = False (a boolean)
>
> One of the thread sets it to True
>
> At this time I am done with that entire request.
>
> Now if I run the admin action again the state of the variable "check" is
>
> check = True
>
> which is not right. It should be
>
> check = False since its a completely new request.
>
> Its happening on both on development (django local server ) and
> production (Apache server).
>
> What could be the problem ?
>
> -RJ
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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.

Reply via email to