Closed
Bug 1440895
Opened 8 years ago
Closed 8 years ago
Add dj.debug to Pontoon's dev requirements
Categories
(Webtools Graveyard :: Pontoon, enhancement, P5)
Webtools Graveyard
Pontoon
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: ryan, Unassigned)
Details
Attachments
(1 file)
This a little performance debugger that provides a decorator and context manager for django code:
https://pypi.python.org/pypi/dj.debug/0.0.2
Currently im having to bash into containers to add it all the time, so it would be very helpful to have it in the env.
Updated•8 years ago
|
Priority: -- → P5
Comment 1•8 years ago
|
||
Comment 2•8 years ago
|
||
Commit pushed to master at https://github.com/mozilla/pontoon
https://github.com/mozilla/pontoon/commit/6fe02c4734d6f60df45dd2f829cfdc3d40faa9b6
Fix Bug 1440895: Add dj.debug package to requirements-dev #905
- Add dj.debug package to requirements-dev
This allows the use of a @debug decorator that can be used to
print out the sql used in a method or function.
Also provides a contextmanager to do similar for a block of code.
- Add dev requirements for staging
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Updated•5 years ago
|
Product: Webtools → Webtools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•