python - Django - South - Is There a way to view the SQL it runs? -


here's want do.

develop django project on development server development database. run south migrations necessary when change model.

save sql each migration, , apply production server when i'm ready deploy.

is such thing possible south? (i'd curious others development database changes on production when working django)

you can @ least inspect sql generated doing manage.py migrate --db-dry-run --verbosity=2. not database , show sql. still make backup though, better safe sorry.


Comments