While I am calling Django url in ajax, getting below error
AssertionError: .accepted_renderer not set on Response.
This is my co
In addition to the accepted answer by @DavidLam it could also be that an error was thrown in your view/handler4xx/handler5xx and you've not caught it appropriately.