Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Django 404 and 500 pages the blarg way.

Project Description

Django 404 and 500 pages the blarg way.

Like and, but for Django.


  • Not yet tested in production anywhere.
  • No tests yet!


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 runserver

Test it out!


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


  • 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


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.
Release History

Release History

This version
History Node


History Node


History Node


History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django_blarg-0.1.4-py2.py3-none-any.whl (4.8 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Dec 2, 2013
django-blarg-0.1.4.tar.gz (5.5 kB) Copy SHA256 Checksum SHA256 Source Dec 2, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting