concentricsky/csky-django-template — pull request #12 by auzigog (2012-06-06 22:37:53+00:00)
Title: Make 404 and 500 handler views into class-based views

What Happened:

* The 500 view doesn't use any context_processors because of SimpleTemplateView.
* Passing along the appropriate HTTP code in the way that class-based views expects.
* Added two URLs to mainsite URLs so you can see your 404 and 500 templates without setting DEBUG=False (which then turns off static file serving, meaning that the pages are unstyled). I run into this problem all the time, so I think it should be in our default URLs.

Tested it with actual 404 and 500 errors and it works fine. PEP8'd it.