Skip to main content

Create custom 500.html for Django with optional Sentry support.

Project description

Travis CI Badge   Coverage Status   Requirements Status

Installation

pip install --upgrade django-custom-500

Add ``django_custom_500`` to ``INSTALLED_APPS``:

INSTALLED_APPS = (
    'django_custom_500',
)

Usage

Create 500.html in your template folder.

OR

Set CUSTOM_500_TEMPLATE in your settings.

Example:

CUSTOM_500_TEMPLATE = "my/path/to/500.html"

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_custom_500-0.1.0.zip (8.2 kB view details)

Uploaded Source

Built Distribution

django_custom_500-0.1.0-py2.py3-none-any.whl (5.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django_custom_500-0.1.0.zip.

File metadata

File hashes

Hashes for django_custom_500-0.1.0.zip
Algorithm Hash digest
SHA256 71be192277d69641319bff260ff7d57a47de44304d48064cdf4938ff9bebf391
MD5 c024a7ca6570b16d0e988749f4827dc4
BLAKE2b-256 1938b77172bf0353b2622bce955c84a566139d5c7bd52c4ba45f216ddac7de3c

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for django_custom_500-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0054563095d03ecbafa61a3ed7e917839abe34ae56c33ee38374860e1511b2ad
MD5 1382608da1b07ff699c09dc451006b14
BLAKE2b-256 5be9e2683ea8f05099878360efb06d1c9dd9515071c1cec8bf76ddca1a1cce5d

See more details on using hashes here.

Provenance

Supported by

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