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 On Thu, Feb 24, 2022 at 6:49 AM Jet Ezra <ezraj...@gmail.com> wrote: > Hello team? > > So how are we checking for ajax-based in django 4+ if is_ajax() was > deprecated?? > > -- > jet > > -- > 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-developers+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-developers/CAMjc0xVkfsJm90tD8Q4%2B5KpyD4Z2FFeXAntc3K08M8EYg3hyQw%40mail.gmail.com > <https://groups.google.com/d/msgid/django-developers/CAMjc0xVkfsJm90tD8Q4%2B5KpyD4Z2FFeXAntc3K08M8EYg3hyQw%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- 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-developers+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/CAMyDDM0j7NFWy1wtOt5uhDsuyZdM_aG2kZmY2aVCQOjOZp86JQ%40mail.gmail.com.