I've thrown up the django-pdb package on PyPI - hopefully some of y'all will 
find it a useful little tool.

PyPI: http://pypi.python.org/pypi/django-pdb/0.1.1
GitHub: https://github.com/tomchristie/django-pdb

Suggestions and contributions are of course very welcome.


Here's the basic README...

Make debugging Django easier
======================

Adding pdb.set_trace() to your source files every time you want to break 
into pdb sucks.

Don't do that.

Do this.

Installation
========

Install using `pip`, add to your INSTALLED_APPS:
    pip install django-pdb

    INSTALLED_APPS = (
        ...
        'django_pdb',
    )

Usage
=====

manage.py runserver
    Drops into pdb at the start of a view if the URL includes a 'pdb' GET 
parameter

manage.py runserver --pdb
    Drops into pdb at the start of every view

manage.py test --pdb
    Drops into pdb on test errors/failures

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/5gg7RyxmnIAJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to