eg. from django.contrib.auth.models import User a = User.objects.all() print a.querysql
能夠獲得sql語句django