On Mon, Jun 28, 2010 at 6:07 PM, kernel1983 <kernel1...@gmail.com> wrote:
> There is exception Http404 in the system.

Yes - because a 404 is an error that shouldn't normally occur. Hence,
an exception is an appropriate way to raise the alarm.

However, a 301 is a valid response indicating that the content is
elsewhere. Hence, an exception isn't an appropriate way to handle
this.

IMHO, flow control by exception handling isn't a good programming
habit; so put me down as a -1.

Yours,
Russ Magee %-)

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-develop...@googlegroups.com.
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.

Reply via email to