yceruto/django-ajax — pull request #6 by luisza (2014-06-18 21:08:29+00:00)
Title: Use default options for $.ajax function

Repair $.extend({}, ajax.DEFAULTS, options) if for example it's call like this

ajax.DEFAULTS['onError'] = myfunc
options.onError = null

$.extend result is options.onError = null