Does a reverse sql inspector exist for django & postgres? Something that shows you what is the origin of the sql view in django?
Something like this: https://github.com/rory/django-sql-inspector, but for postgres.
(Please let me know if you don't know of one, because hearing a handful of respectable peeps say they haven't is better than silence.)
I can suggest django-sql-stacktrace, "github.com/adw0rd/django-sql-stacktrace";. Beside this django.backend.db logger that you can configure in the setting along with django.request logger to inspect the sql trace. Here there is a sample logging: configuration:docs.djangoproject.com/en/1.5/topics/logging/…. I hope this can be helpful.