Add `logsql` utility function to `manage.py shell` to log sql queries
Add `logsql` utility function to `manage.py shell` to log sql queries

The logging can be enabled/disabled by consecutive calls to `logsql`.

disconnect3d/TermsScheduler,disconnect3d/TermsScheduler,disconnect3d/TermsScheduler