Cansada de ser feliz

Bienvenidos a mi flujo de conciencia

How to send request to AJAX view in Django tests

| Comments

If you have a view that requires an AJAX request, in other words, checks if request.is_ajax(), here is a way you can write a unit test for this view:

Comments