joestump / django-ajax

A simple framework for creating AJAX endpoints in Django.
http://github.com/joestump/django-ajax
BSD 3-Clause "New" or "Revised" License
260 stars 53 forks source link

catched Http404 exception type and return AjaxError response with 404 code #19

Closed rmaceissoft closed 12 years ago

rmaceissoft commented 12 years ago

It's very common use get_object_or_404 or get_list_or_404 shortcuts when you are implementing ajax endpoint, similar when you are implementing django view.

so, I don't see a reason to send to cliente http 500 error.