In Django 1.1 I was able to produce the SQL used by a QuerySet
with this notation:
QuerySet.query.as_sql()
In Django 1.2, this raises as AttributeError
.
Anyone know the Django 1.2 equivalent of that method?
Thanks
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…