django-debug-error-logging is a Django app that enables error logging in Django when DEBUG = True.
Adding to your app
Add the following to urls.py:
import debug_error_logging
debug_error_logging.enable_error_logging_in_debug_mode()
Publishing releases to PyPI
To publish a new version of this package to PyPI, set the __version__ string in debug_error_logging/__init__.py, then run:
# Run the tests against multiple environments
tox
# Publish to PyPI
./setup.py publish
# Tag (change 1.0.0 to the version you are publishing!)
git tag -a v1.0.0 -m 'Version 1.0.0'
git push --tags
Running the tests
To run the tests against the current environment:
./manage.py test
To run the tests against multiple environments, install tox using pip install tox, make sure you're not currently in a virtual environment, then simply run tox:
tox
Requirements:
- Python
- Django
Comments not found