joestump/django-ajax — pull request #28 by mattrobenolt (2012-03-13 14:40:48+00:00)
Title: Proper error handling

The only nice way to do this is to just manually call `logger.error` ourselves to make sure the error gets logged properly.

In Django 1.4, ajax requests give a nice clean plain text response back and automatically handles it. We'll have to probably conditionally ignore the error if Django >= 1.4.