Re: Joining tables

2012-01-23 Thread Arun P
@bruno Dint know that you can do lookups from OneToOne related models Thanks On Mon, Jan 16, 2012 at 8:00 PM, bruno desthuilliers < bruno.desthuilli...@gmail.com> wrote: > On Jan 16, 8:04 am, Arun P wrote: > > Does this work? > > > > info = > >

Re: Joining tables

2012-01-15 Thread Arun P
Does this work? info = ExtraInformation.objects.filter(user__is_active=1,user__is_staff=0,user__is_superuser=0).order_by("popularity").select_related("user") users = map(lambda i: i.user, info) Thanks On Sun, Jan 15, 2012 at 1:05 AM, Swaroop Shankar V wrote: > hello All, > I have a model of

Re: Alternatives to celery

2012-01-15 Thread Arun P
@Isaac, How about gearman? Gearman seems to support multiple projects through one gearman server. On Mon, Jan 16, 2012 at 1:43 AM, Isaac XXX wrote: > Hi folks, > > I need a solution to create cron-like jobs into my django projects. I've a > server with several projects. > > I've testes celery,

Re: Users getting logged out frequently

2012-01-06 Thread Arun P
Hi Jacco The stack is nginx -> apache with wsgi. nginx caching is turned for some url patterns. Thanks On Fri, Jan 6, 2012 at 3:50 PM, Jacco Flenter wrote: > What kind of software stack are you running? Apache and... or nginx and...? > > > On Fri, Jan 6, 2012 at 10:51 AM

Re: Taking a sample mysql dump

2012-01-06 Thread Arun P
You may have to look at mysqldump manual http://dev.mysql.com/doc/refman/5.0/en/mysqldump.html On Fri, Jan 6, 2012 at 12:03 AM, Amit Sethi wrote: > Is there a way one could take the dump of just a few sample fields using > mysqldump or some other similar tool. ?? Such that you can use it similar

Re: Users getting logged out frequently

2012-01-06 Thread Arun P
@Kevin: The backend used is the default Database backend. There are no other projects which share the same domain space. I guess will have to write a middleware to see what is happening to the cookies. Thanks. On Fri, Jan 6, 2012 at 2:26 PM, Kevin wrote: > Which backend is storing the session

Re: Users getting logged out frequently

2012-01-04 Thread Arun P
2012 at 8:56 AM, Arun P wrote: > That’s a lot of education Dennis. Thanks. > But, gmail is cookie login based and I don’t get logged out from Gmail. > If this is case why different behaviors? > > > On Wed, Jan 4, 2012 at 11:36 PM, Cherian Thomas wrote: > >> Do you h

Re: Users getting logged out frequently

2012-01-04 Thread Arun P
That’s a lot of education Dennis. Thanks. But, gmail is cookie login based and I don’t get logged out from Gmail. If this is case why different behaviors? On Wed, Jan 4, 2012 at 11:36 PM, Cherian Thomas wrote: > Do you have the SESSION_COOKIE_NAME set correctly? > > Regards, > Cherian > > > > On