Skip to main content

PuDB integration for Django.

Project description

PuDB integration for Django <https://github.com/akanouras/django-pudb>

Installing

  1. Run pip install django-pudb

  2. In your settings.py:

    • Add 'django_pudb.PudbMiddleware' at/near the end of your MIDDLEWARE_CLASSES

    • Set DEBUG_PROPAGATE_EXCEPTIONS = True

  3. Run ./manage.py runserver --nothreading

Now you should see PuDB pop up in your console window whenever a view raises an exception.

Notes

  • This package has zero requirements on purpose, so that you can install it (system|user)-wide, and still get to install Django in your virtualenvs.

  • As PuDB doesn’t support threading (yet, hopefully), django-pudb doesn’t either.

Changelog

0.1.0 (2014-05-06)

  • Initial version.

    Just the middleware; zero magic.

Licence (MIT)

Copyright (C) 2014 Antonis Kanouras <antonis@metadosis.eu>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-pudb-0.1.0.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

django_pudb-0.1.0-py2.py3-none-any.whl (5.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-pudb-0.1.0.tar.gz.

File metadata

File hashes

Hashes for django-pudb-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d4173387a6d512d818eefd5cf8ae748dac3e8194a0edc3c4d1605863b7ebabd2
MD5 de2315674a47618dc035bc4232974bd9
BLAKE2b-256 78e27857285765b5392b1d2aaef45bf2c18d14342ea0e2807ec5c17da8a7f5c8

See more details on using hashes here.

File details

Details for the file django_pudb-0.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_pudb-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7415740cbbbd55c35df722cde7ab67d128dbbc292430317b9c5687a98ddef79e
MD5 07bc1149aefd8db8fd1d49ab8ffed4a6
BLAKE2b-256 647802b9dc28a2a5fb304b51ad8fe35cf6e1cd770be9c5b8cb46d6d53a644b72

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page