Re: create a method that only one user can access in the same time

2009-09-30 Thread gustavo Cardoso
'users_online') > > > > > On Wed, Sep 30, 2009 at 3:52 AM, Nan wrote: > > > > >> Any particular reason you can't just use User.objects.count() ? > > > > >> On Sep 29, 7:16 pm, gustavo Cardoso wrote: > > >> > Hello F

Re: create a method that only one user can access in the same time

2009-09-30 Thread Dan Ostrowski
; >> Any particular reason you can't just use User.objects.count() ? > > >> On Sep 29, 7:16 pm, gustavo Cardoso wrote: > >> > Hello Folks, > > >> > I need to implement a Counter. > >> > One variable to store the number of users in my site. > &g

Re: create a method that only one user can access in the same time

2009-09-30 Thread gustavo Cardoso
ote: >> > Hello Folks, >> > >> > I need to implement a Counter. >> > One variable to store the number of users in my site. >> > This variable can't be access in the same time for more than one user. >> > How I do this in django. How I create

Re: create a method that only one user can access in the same time

2009-09-30 Thread Kristaps Kūlis
t; Hello Folks, > > > > I need to implement a Counter. > > One variable to store the number of users in my site. > > This variable can't be access in the same time for more than one user. > > How I do this in django. How I create a method that only one user can >

Re: create a method that only one user can access in the same time

2009-09-29 Thread Nan
re than one user. > How I do this in django. How I create a method that only one user can access > in the same time? > Is there some API to lock and release that variable? > Thanks! > > -- > Gustavo Nascente Cardoso > Ciência da Computação - UFES --~--~-~--~~--

create a method that only one user can access in the same time

2009-09-29 Thread gustavo Cardoso
Hello Folks, I need to implement a Counter. One variable to store the number of users in my site. This variable can't be access in the same time for more than one user. How I do this in django. How I create a method that only one user can access in the same time? Is there some API to loc