3

This may be a real stupid question. But how do you get ALL sql statements django-admin.py is going to run or does run from a syncdb command?

Sean McCully
  • 1,122
  • 3
  • 12
  • 21

1 Answers1

3

use SQL for the command which will return all the SQL it will attempt to run

django-admin.py sqlall <App>
Steve
  • 1,201
  • 8
  • 14