开发者

Django v1.2 multi-db database debugging app?

开发者 https://www.devze.com 2023-01-07 17:45 出处:网络
anyone know if there\'s a django database debugging app which supports Django\'s multi-db API? I used to use django-debug-toolbar but it doesn\'t support m开发者_StackOverflow中文版ultiple databases

anyone know if there's a django database debugging app which supports Django's multi-db API?

I used to use django-debug-toolbar but it doesn't support m开发者_StackOverflow中文版ultiple databases and the corresponding ticket is now open for 3 months.

Are there any alternatives worth looking at?


This has been on my list of things to do since before 1.2 came out but I've been swamped. I'm not familiar with any work on the various branches of django-debug-toolbar that add this either. And at present, I don't know of other tools that do it.

There's always the fallback of running this in a Python shell alongside runserver:

>>> from django.db import connections
>>> connections['my_db_alias'].queries
0

精彩评论

暂无评论...
验证码 换一张
取 消