Thursday, October 10, 2013

Re: Extension to QuerySet.values()



On Thursday, 10 October 2013 15:19:32 UTC+1, Ramiro Morales wrote:


On Oct 10, 2013 10:02 AM, "Arnaud Delobelle" <arn...@gmail.com> wrote:
>
> Hi Russ,
>
> Thanks for the feedback.  I agree that this could possibly be integrated into the values() method.  I just used a new method in order to minimise interference with our existing code.  I'll read the 'contributing' document then see if I can find a bit of spare time to do this properly!
>
FYI IIUC this has been reported in ticket 16735:

https://code.djangoproject.com/ticket/16735

 Yes.  The patch also seems to allow using the aliases in e.g. order_by() or annotate() clauses, which I hadn't got round to looking at yet.  It is marked as needing improvement but looking at the change history I'm not sure what needs to be improved.

-- 
Arnaud

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/a2cbb3b0-e014-46c0-99d5-b71acbeb4aa4%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate