Re: Mongo - testing

2011-01-22 Thread Andrew Marder
Thanks Javier and Konrad! I searched github a bit and it looks like django-mongokit has done some work to solve this problem. I haven't used it yet, but it looks promising. Andrew http://www.peterbe.com/plog/how-and-why-to-use-django-mongokit On Jan 21, 3:59 am, Konrad Delong

Re: Mongo - testing

2011-01-21 Thread Konrad Delong
On 20 January 2011 22:26, Andrew Marder wrote: > Has anyone had any luck setting up testing databases with mongo? Right > now I'm using pymongo in a single app, and I thought it would be cool > if in that app I could see if my code was being tested and in that > case I

Re: Mongo - testing

2011-01-20 Thread Javier Guerra Giraldez
On Thu, Jan 20, 2011 at 4:26 PM, Andrew Marder wrote: > Problem is there doesn't seem > to be an environment variable in Django that will tell me whether my > code is being tested. that defeats the purpose of testing, doesn't it? even more in your case, since you

Mongo - testing

2011-01-20 Thread Andrew Marder
Has anyone had any luck setting up testing databases with mongo? Right now I'm using pymongo in a single app, and I thought it would be cool if in that app I could see if my code was being tested and in that case I could use a different database. Problem is there doesn't seem to be an environment

Re: Mongo - testing

2010-10-03 Thread xy zz
On Oct 4, 4:20 am, Russell Keith-Magee wrote: > Well... you can call runtests; you just need to handle your own > testing infrastructure. I haven't used MongoDB (or any other noSQL > store) enough to be able to make any concrete suggestions, but I would > suggest that

Re: Mongo - testing

2010-10-03 Thread Russell Keith-Magee
On Sun, Oct 3, 2010 at 10:44 PM, xy zz wrote: > Hello, > > A couple of questions regarding nosql.  I am interested in MongoDB in > particular, but general answers are also ok. > > * Is there any work going on in Django to support nosql databases?  I > am aware of django-nonrel

Re: Mongo - testing

2010-10-03 Thread xy zz
> > $ python runserver.py cms Oops - I meant $ python runtests.py cms -- 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

Mongo - testing

2010-10-03 Thread xy zz
Hello, A couple of questions regarding nosql. I am interested in MongoDB in particular, but general answers are also ok. * Is there any work going on in Django to support nosql databases? I am aware of django-nonrel but will nosql support be a part of Django core or contrib sometime? If yes,