'WSGIRequest' object has no attribute 'is_ajax'

846 views
Skip to first unread message

Matheus Bon

unread,
Sep 15, 2022, 5:55:04 PM9/15/22
to Django users
Hello guys!

I'm using AJAX in my Django project, as soon as I finished writing the code and went to test it, this error always pops up.

The site runs normally, it's only when I send it that this happens.

What should I do?

André Lewis

unread,
Sep 16, 2022, 8:27:25 AM9/16/22
to django...@googlegroups.com
What version of Django are you using? If it's 4.1, I'm pretty sure it's no longer supported.

You can check the docs to confirm:

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/7e8fb2cc-337c-4532-9c54-ae9e2a28e877n%40googlegroups.com.

Matheus Bon

unread,
Sep 16, 2022, 9:07:01 AM9/16/22
to django...@googlegroups.com
I use the version 4.1
I saw that after version 3.1 you have to implement a code to be able to use
I did this and it worked, thanks dude!

You received this message because you are subscribed to a topic in the Google Groups "Django users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-users/aRS-TVajURc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAJN6x_h%2BfPaySJFGLOWKCYzkRiEn63LSqs32ee8S5Jajx0qxqw%40mail.gmail.com.

subin

unread,
Sep 16, 2022, 1:13:21 PM9/16/22
to django...@googlegroups.com
I will continue learning more about .

subin

unread,
Sep 16, 2022, 1:14:10 PM9/16/22
to django...@googlegroups.com
Kindly notify me should you need any other information.

subin

unread,
Sep 16, 2022, 1:23:41 PM9/16/22
to django...@googlegroups.com
Hi

--
Reply all
Reply to author
Forward
0 new messages