django-commons / django-commons/django-debug-toolbar
SQL panel should track transactions
Open
Nobody has claimed this yet.
Feature
- Dominant language
- Python
- Stars
- 8.4k
- Forks
- 1.1k
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 13
Description
I often need to know exactly where we are committing inside a Django view. I've got this working with http://gist.github.com/484450
(Unfortunately, commit() and rollback() are methods of the database connection, not the cursor so we have to track them slightly differently.)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the SQL panel and the linked gist, then inspect how a Django view exposes its database connection and cursor activity. The work is done when the panel identifies commit and rollback locations accurately, including the connection methods described in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- django, python, sql
- Domain
- backend, databases
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100