Re: combining ORM and raw SQL in same query

2017-02-21 Thread Larry Martell
pend on raw SQL. > > -Original Message- > From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On > Behalf Of Larry Martell > Sent: Monday, February 20, 2017 3:00 PM > To: django-users@googlegroups.com > Subject: Re: combining ORM and raw SQL in same qu

RE: combining ORM and raw SQL in same query

2017-02-21 Thread Matthew Pava
Martell Sent: Monday, February 20, 2017 3:00 PM To: django-users@googlegroups.com Subject: Re: combining ORM and raw SQL in same query Thanks! On Mon, Feb 20, 2017 at 10:52 AM, m1chael <myk...@gmail.com> wrote: > i did something like this recently using .extra / select

Re: combining ORM and raw SQL in same query

2017-02-20 Thread Larry Martell
Thanks! On Mon, Feb 20, 2017 at 10:52 AM, m1chael wrote: > i did something like this recently using .extra / select > > https://docs.djangoproject.com/en/1.10/ref/models/querysets/#extra > > > > On Mon, Feb 20, 2017 at 10:49 AM, Larry Martell > wrote:

Re: combining ORM and raw SQL in same query

2017-02-20 Thread m1chael
i did something like this recently using .extra / select https://docs.djangoproject.com/en/1.10/ref/models/querysets/#extra On Mon, Feb 20, 2017 at 10:49 AM, Larry Martell wrote: > Is there any way to use both the ORM and raw SQL in the same query? > > I have an