Skip to main content

django-blarg

https://badge.fury.io/py/django-blarg.png https://pypip.in/d/django-blarg/badge.png

Django 404 and 500 pages the blarg way.

Like https://github.com/404 and https://github.com/500, but for Django.

Warnings

  • Not yet tested in production anywhere.

  • No tests yet!

Usage

Get the package:

pip install django-blarg

Wire into your project’s root URLConf:

from blarg import error_500, error_404

urlpatterns += patterns("",
    url(r"^500$", error_500, name="error_500"),
    url(r"^404$", error_404, name="error_404"),
)

Fire up the Django test server

python manage.py runserver

Test it out!

Troubleshooting

You probably already have them, but you’ll need 500.html and 404.html templates in the the root of a templates directory.

Features

  • The 500 error template is 100% isolated from Django’s template mechanisms.

  • Works with Django 1.0 upwards. Maybe for earlier, test it and see!

  • Works with every version of Python ever supported by Django.

  • Works on every HTTP method.

Support this Epic Project

History

0.1.4 (2013-12-01)

  • Repackage using twine for upload to PyPI

0.1.3 (2013-11-22)

  • Documentation corrections so Sphinx works

0.1.2 (2013-11-22)

  • Documentation corrections so Sphinx works

0.1.1 (2013-11-22)

  • Fixing minor mistakes in the README

0.1.0 (2013-11-22)

  • First release on PyPI.

Metadata

Release files for django-blarg 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-blarg 0.1.4
File Size Uploaded Provenance Actions
django-blarg-0.1.4.tar.gz 5.5 kB Without provenance Details for django-blarg-0.1.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-blarg 0.1.4
File Interpreter ABI Platform Actions
django_blarg-0.1.4-py2.py3-none-any.whl Python 2, Python 3 none any Details for django_blarg-0.1.4-py2.py3-none-any.whl

Total release size: 10.3 kB

Release files / django-blarg-0.1.4.tar.gz

Download URL django-blarg-0.1.4.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
b0824141d5943b6aa0fcdd8d94438ed43c4a3b0932ee879600e1f4b4dfda8585
BLAKE2b-256 checksum
How to use checksums
2759c6c89c0dff99d8120abd38e45c2c17a1941fc547e385d55637ed7b270b40
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / django_blarg-0.1.4-py2.py3-none-any.whl

Download URL django_blarg-0.1.4-py2.py3-none-any.whl
Size 4.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
2d5f9fa42b24526b2e7d5d81e8e2795e43a13b822ac9ac07368a817b82d1df59
BLAKE2b-256 checksum
How to use checksums
8613d42acde6676c20010aa1177b658624a4c261c119c0fb242ffb8b03c5a2e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-blarg 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page