There is exception Http404 in the system. During django programming, we often need to do some data valid:
def A(request): valid() return render_to_response(...) def B(request): valid() return render_to_response(...) ... def valid(): throw Http301(url) With Http301 exception, we can save a lot of code instead of using HttpResponseRedirect So I suggest add this feature, will be helpful to django developers. -- 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.