Is_ajax replacement??

82 views
Skip to first unread message

Jet Ezra

unread,
Feb 24, 2022, 1:50:18 AM2/24/22
to django-d...@googlegroups.com
Hello team?

So how are we checking for ajax-based in django 4+ if is_ajax() was deprecated??

--
jet

Adam Johnson

unread,
Feb 24, 2022, 3:33:30 AM2/24/22
to Django developers (Contributions to Django itself)
The feature was deprecated in Django 3.1 - the release note covers alternatives: https://docs.djangoproject.com/en/3.1/releases/3.1/#id2

If you didn't detect this until Django 4.0 I would recommend reading the documentation on deprecation warnings so you can discover deprecations when they happen: https://docs.djangoproject.com/en/4.0/howto/upgrade-version/#resolving-deprecation-warnings

--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-develop...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/CAMjc0xVkfsJm90tD8Q4%2B5KpyD4Z2FFeXAntc3K08M8EYg3hyQw%40mail.gmail.com.

Jet Ezra

unread,
Mar 7, 2022, 8:35:30 AM3/7/22
to Django developers (Contributions to Django itself)
Thanks, I think I will always add small module when needed
Reply all
Reply to author
Forward
0 new messages