[Django]-Getting a raw SQL query from QuerySet 24 December 2023 by thecoderscamp.com 5👍 ✅ As we found out in the comments, that’s your answer: str(Something.objects.all().query) 👤Alp [Django]-Change the location of models.py with south Source:stackexchange.com