Django All SQL from syncdb

This could be a real stupid question. But how do you get ALL SQL statements django-admin.py will be launched or executed from syncdb command?

+3
source share
1 answer

use SQL for a command that will return all the SQL that it will try to run

django-admin.py sqlall <App>
+3
source

Source: https://habr.com/ru/post/1776347/


All Articles