> On Apr 11, 2018, at 16:19, Mark Phillips <m...@phillipsmarketing.biz> wrote:
> Thanks for the link - I have read it before. I need to stay with these 
> models, so is there a simple query to get my result, or do I have to make 
> multiple queries and combine the data in python?

If you are using PostgreSQL, you can do it as a raw SQL query; otherwise, 
you'll need to transform the data in Python.

-- Christophe Pettus

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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
For more options, visit https://groups.google.com/d/optout.

Reply via email to