-
Discovery Education
- Chicago, IL
Pinned Loading
-
Request Logging Middleware for Djang...
Request Logging Middleware for Django, reports details to newrelic 1import datetime
2import logging
3import json
4import time
5import traceback
-
django filtered stack trace per data...
django filtered stack trace per database query (possibly python 2-only) 1# kudos to SColvin on stackoverflow2# Source: https://stackoverflow.com/questions/24876343/django-traceback-on-queries/24876751#248767513import django.db.backends.utils as bakutils
4import traceback
5 -
Easily open files from Python traceb...
Easily open files from Python tracebacks in iTerm2 directly in MacVim 11. In iTerm2, go to Settings -> Profiles -> Advanced -> Smart Selection -> Edit
22. Click `+` to add a rule with the following values:
3* Notes: Python traceback4* Regular Expression: `File "(.+)", line ([0-9]+), in .+`
5* Precision: Very High -
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.


