Re: #6375 -- Class Based Views: Opinions on commit plan

2010-10-17 Thread Łukasz Rekucki
On 18 October 2010 01:49, Russell Keith-Magee wrote: > > However, you will note that the topic guide that Andrew prepared has a > section heading specifically targeted at JSON responses. That section > isn't written yet, but the idea is to put in a guide on how to handle

Re: #6375 -- Class Based Views: Opinions on commit plan

2010-10-17 Thread legutierr
Thinking about it more, I think that the approach you took makes more sense. Regards, Eduardo On Oct 17, 7:49 pm, Russell Keith-Magee wrote: > On Mon, Oct 18, 2010 at 2:00 AM, legutierr wrote: > > > On Oct 17, 11:58 am, Russell Keith-Magee

Re: #6375 -- Class Based Views: Opinions on commit plan

2010-10-17 Thread Russell Keith-Magee
On Mon, Oct 18, 2010 at 2:00 AM, legutierr wrote: > > > On Oct 17, 11:58 am, Russell Keith-Magee > wrote: >> On Sat, Oct 16, 2010 at 12:45 AM, Russell Keith-Magee >> >> I should also be able to port the tutorial before I commit -- which, >> barring

Re: #6375 -- Class Based Views: Opinions on commit plan

2010-10-17 Thread legutierr
On Oct 17, 3:51 pm, Łukasz Rekucki wrote: > > Currently, you can override only how successful responses are > rendered. I'm going to try to work on this on my branch, but I have a > small problem: In number of places, views raise Http404 which then get > rendered by the

Re: #6375 -- Class Based Views: Opinions on commit plan

2010-10-17 Thread Łukasz Rekucki
On 17 October 2010 23:29, George Sakkis wrote: > On Oct 17, 5:58 pm, Russell Keith-Magee > wrote: >> On Sat, Oct 16, 2010 at 12:45 AM, Russell Keith-Magee >> >> >> >> wrote: >> > On Fri, Oct 15, 2010 at 1:09 AM, Justin

Re: #6375 -- Class Based Views: Opinions on commit plan

2010-10-17 Thread Łukasz Rekucki
On 17 October 2010 20:00, legutierr wrote: > > > On Oct 17, 11:58 am, Russell Keith-Magee > wrote: >> On Sat, Oct 16, 2010 at 12:45 AM, Russell Keith-Magee >> >> I should also be able to port the tutorial before I commit -- which, >> barring

Re: #6375 -- Class Based Views: Opinions on commit plan

2010-10-17 Thread legutierr
On Oct 17, 11:58 am, Russell Keith-Magee wrote: > On Sat, Oct 16, 2010 at 12:45 AM, Russell Keith-Magee > > I should also be able to port the tutorial before I commit -- which, > barring objection, I will do tomorrow night my time (about 24 hours > from now). Speak now,

Model proxy instance does not equal the respective model instance

2010-10-17 Thread Byron
I came across an issue when comparing a model proxy instance and a model instance, that is: obj1 = Entry.objects.get(id=1) obj2 = EntryProxy.objects.get(id=1) obj1 == obj2 # False This I feel is a bug and the culprit is in ``Model.__eq__`` where it tests to see if the object being

Re: #6375 -- Class Based Views: Opinions on commit plan

2010-10-17 Thread Russell Keith-Magee
On Sat, Oct 16, 2010 at 12:45 AM, Russell Keith-Magee wrote: > On Fri, Oct 15, 2010 at 1:09 AM, Justin Lilly wrote: >> Because you asked, I think this sounds like a great idea. >> >> When you have decided you like the API for create/update >>