Re: Unit tests with Postgres backend and transaction errors

2008-03-08 Thread Russell Keith-Magee
On Sat, Mar 8, 2008 at 3:09 AM, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > > On Fri, 2008-03-07 at 09:58 -0800, meppum wrote: > > I've been playing with Django for a while now, learning the ropes and > > such. I started building some unit tests using the django TestCase > > classes, but recen

Re: Pick a value from list variable in templates

2008-03-08 Thread Gary Wilson Jr.
Yuri Baburov wrote: > I don't like the point of view that "everyone has his own library", > because it's too childish. It isn't a solution at all, it's just a > despair after attempts to find a good enough solution. > You did a great thing inventing simple and useful ORM, good template > language,

Re: Class based generic views

2008-03-08 Thread Joseph Kocherhans
On Sat, Mar 8, 2008 at 2:57 PM, Gary Wilson Jr. <[EMAIL PROTECTED]> wrote: > > Joseph Kocherhans wrote: > > I just uploaded a patch [1] for class based generic views that use > > ModelForm internally. Personally, I think this makes the generic views > > a lot more flexible, and gives us a grea

Re: Class based generic views

2008-03-08 Thread Gary Wilson Jr.
Joseph Kocherhans wrote: > I just uploaded a patch [1] for class based generic views that use > ModelForm internally. Personally, I think this makes the generic views > a lot more flexible, and gives us a great argument against > adding-yet-another-config-argument-to-generic-views (even though I >

Strange CGI error

2008-03-08 Thread Olafur Arason
Here are pastbins: http://dpaste.com/38523/ http://dpaste.com/38522/ There is some strange Request URL string but they don't seem to reflect the environmental varibles. Also I tried this with two different methods fcgi.py and wsgi. And svn and 0.96. With two different projects the example one and

Re: Debugging: admin emails and showing local querysets in tracebacks

2008-03-08 Thread Ivan Sagalaev
Malcolm Tredinnick wrote: > > On Fri, 2008-03-07 at 21:03 -0800, Ken Arnold wrote: >> I just hacked together http://www.djangosnippets.org/snippets/631/ >> which includes the technical_500 error view page with the admin error >> email. I did this after seeing a Django site have lots of small erro

Re: django-restapi Improvements Proposal

2008-03-08 Thread David Larlet
Le 7 mars 08 à 20:26, Jared Flatow a écrit : > > On Mar 7, 2008, at 3:19 AM, versae wrote: >> After working with great intensity with django-restapi we discovered >> some fails and some unimplemented features, > > Anything in particular? Same here, we (my team) need to fix a lot of things in th

Re: Debugging: admin emails and showing local querysets in tracebacks

2008-03-08 Thread Malcolm Tredinnick
On Fri, 2008-03-07 at 21:03 -0800, Ken Arnold wrote: > I just hacked together http://www.djangosnippets.org/snippets/631/ > which includes the technical_500 error view page with the admin error > email. I did this after seeing a Django site have lots of small errors > that were difficult to track