Testing AJAX Views in Django

A lot of the Django code we use at work has a special case for
AJAX. It has been a kind of a pain to test, because the test client
by default doesn’t use AJAX. Luckily the
call in the Django HttpRequest object is a simple check of an HTTP
Environmental variable.

Read full article at “Eric’s Thoughts”

Leave a comment