News for hackers. Stuff that matters.
Re:Django 1.11 beta 1 released by metaphorm on Monday February 20, 2017 @09:54PM (#13692874)
https://docs.djangoproject.com/en/1.10/topics/db/sql/#django...

you can already do this. the django ORM has a convenient and expressive API for a lot of very common types of queries, but lets you easily drop back into raw SQL when you have a high complexity query that you want to write by hand.

Re:Django 1.11 beta 1 released by jsmeaton on Monday February 20, 2017 @10:32PM (#13693046)
Raw requires a primary key to be returned so it can rebuild the model object for you. You could also use django.db.connection.cursor() directly.