Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(186)

Issue 5532116: Don't handle Http404 as real exceptions. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 5 months ago by Andi
Modified:
13 years, 11 months ago
Reviewers:
gvrpython, techtonik, GvR, M-A
Visibility:
Public.

Description

To reproduce this locally set settings.DEBUG=False and open http://localhost:8080/foo. As far as I can tell Http404 is the only exception that is defined by Django i n this context and that is already treated specially by Django itself (see https://docs.djangoproject.com/en/1.3/topics/http/views/#the-http404-exception).

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M codereview/middleware.py View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 4
Andi Albrecht
14 years, 5 months ago (2012-01-22 09:35:07 UTC) #1
gvrpython
LGTM On Sun, Jan 22, 2012 at 1:35 AM, <albrecht.andi@googlemail.com> wrote: > Reviewers: M-A, GvR, ...
14 years, 5 months ago (2012-01-22 16:38:25 UTC) #2
Andi Albrecht
Thanks, committed and live. @Guido: Do you still need versions 79-84? I've had a "too ...
14 years, 5 months ago (2012-01-22 17:22:03 UTC) #3
gvrpython
14 years, 5 months ago (2012-01-23 02:11:22 UTC) #4
Go ahead and delete those versions!

On Sun, Jan 22, 2012 at 9:22 AM,  <albrecht.andi@googlemail.com> wrote:
> Thanks, committed and live.
>
> @Guido: Do you still need versions 79-84? I've had a "too many versions"
> error on upload :)
>
> http://codereview.appspot.com/5532116/



-- 
--Guido van Rossum (python.org/~guido)
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b