Answer the question
In order to leave comments, you need to log in
Django orm. How to use table aliases in extra?
there is a request. briefly gist:
objects.extra(
tables=[table1, table2,table2],
where=[
'table1.id =table2.id',
'table1.id2 =table2.id',
])
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question