Re: A.objects.getdefault

2013-01-09 Thread Wim Feijen
Hi, Ticket 19326 has been marked as ready for check-in for some time. Can some-one have a look at it? https://code.djangoproject.com/ticket/19326 Thanks, Wim Op donderdag 29 november 2012 23:45:38 UTC+1 schreef Wim Feijen het volgende: > > Hi Anssi, > > When I thought about it, the most pr

Re: serializers.serialize on a single object

2013-01-09 Thread Russell Keith-Magee
Sure - sounds like a reasonable suggestion to me. Feel free to open a ticket and provide a patch! Yours, Russ Magee %-) On Thu, Jan 10, 2013 at 3:21 AM, Gabriel Warshauer-Baker wrote: > As Luke Plant pointed out a few years ago, you *can* just do: > > def serialize_one_object_to_json(**obj): >

Re: runserver stdout and stderr piping problems

2013-01-09 Thread Russell Keith-Magee
I'm not aware of a ticket for this issue, and I couldn't find one from a quick search, so feel free to open one. The approach described by the OP seems reasonable, so if you want to provide a patch as well, feel free. Yours, Russ Magee %-) On Wed, Jan 9, 2013 at 11:37 PM, Chris Proto wrote: > D

Re: #14633 - organization of settings docs

2013-01-09 Thread Tim Graham
Thanks for the suggestion, I've added a topical index to the pull request. On Tuesday, January 8, 2013 12:49:58 PM UTC-5, ptone wrote: > > Looks good overall Tim - I do think that the primary reference should be > kept alphabetical within core - this is most useful when you have a setting > you

serializers.serialize on a single object

2013-01-09 Thread Gabriel Warshauer-Baker
As Luke Plant pointed out a few years ago, you *can* just do: def serialize_one_object_to_json(obj): return serializers.serialize("json", [obj])[1:-1] But, since you almost always want this exact behavior when serializing a single object, it seems like this is a good candidate for functiona

Re: runserver stdout and stderr piping problems

2013-01-09 Thread Chris Proto
Did you ever get around to opening a ticket for this? If so, what is the status? On Friday, January 20, 2012 1:04:29 PM UTC-7, JuhaS wrote: > > I was launching manage.py runserver from another app and trying to > capture the output correctly without luck using pipes. Eventually I > narrowed t

Re: About Understanding of source code

2013-01-09 Thread is_null
This should be mentioned too: import ipdb; ipdb.set_trace() If you didn't already, then go ahead and mess with it. -- You received this message because you are subscribed to the Google Groups "Django developers" group. To view this discussion on the web visit https://groups.google.com/d/m