• Solutions
    • Uniquid
    • yTourism
  • Services
    • Consulting
    • Web
    • Formation
  • About us
    • Philosophy
    • Join the team
    • Offices
    • Clients
  • Community
    • Blog
    • Projects
    • Contributions
General Linux Python caching databases debugging django djangocon geodjango inauguracion jacobkaplanmoss misscripts opensource orm postgresql projects python security sistemas software yaco
Yaco on Facebook
border image
Join us
Join us
Contribuimos a:
morfeo django
plone merengue
  • debugging
  • < go back to channels

Appending the request URL to SQL statements in Django

Blog de Simon Willison Posted on June 2, 2010

Appending the request URL to SQL statements in Django. A clever frame-walking monkey-patch which pulls the most recent HttpRequest object out of the Python stack and adds the current request.path to each SQL query as an SQL comment, so you can see it in debugging tools such as slow query logs and the PostgreSQL “select * from pg_stat_activity” query.

chrislamb debugging django monkeypatch orm postgresql python sql
external link Read More

Presenting django-devserver, a better runserver

Blog de Simon Willison Posted on February 10, 2010

Presenting django-devserver, a better runserver. I really like this—it’s a Django management command (./manage.py rundevserver) which adds SQL logging and cache access summaries to the console output of Django’s local development server. It solves a similar set of problems to the debug toolbar, but requires slightly less setup and doesn’t inject additional HTML in to ...

davidcramer debugging devserver django python runserver
external link Read More

django-debug-toolbar

Blog de Simon Willison Posted on September 21, 2009

django-debug-toolbar. The new panel styling for the Django debug toolbar is really slick—here’s a neatly produced screencast demonstrating it (with Gypsy Jazz accompaniment).

debugging django djangodebugtoolbar gypsyjazz screencasts
external link Read More

Debugging Django in Production Revisited

Blog de Simon Willison Posted on September 7, 2009

Debugging Django in Production Revisited. Eric Holscher expands his show-technical-errors-to-superusers middleware to only show them to users in the group named “Technical Errors”.

debugging django ericholscher middleware python
external link Read More

Announcing django-viewtools

Blog de Simon Willison Posted on February 17, 2009

Announcing django-viewtools. A really excellent idea—run ./manage.py viewtools --pdb /path/on/site/ to debug a view in your Django project that is raising an error using the Python debugger, or use --profile to run the full request cycle for that URL through the profiler.

debugging django djangoviewtools ericmoritz pdb profiler python
external link Read More
‹‹ Previous 1 2 Next ››
  • Solutions
    • Uniquid
    • yTourism
  • Services
    • Consulting
    • Web
    • Formation
  • About us
    • Philosophy
    • Join the team
    • Offices
    • Clients
  • Community
    • Blog
    • Projects
    • Contributions
Facebook twitter Linkedin Youtube Google Plus Blog yaco

+34 954 500 057

Contact us