Redirecting from DELETE to GET in Django

I use Django django 4.0.8 and django-tastypie.

Why is it that when I send a request (for example) DELETE http://127.0.0.1:8000/api/v1/courses/3 via Postman, I get a redirect to GET /api/v1/courses/3/?

If I send http://127.0.0.1:8000/api/v1/courses/3/ it work correctly.

Adding 'APPEND_SLASH = True' in settings.py does not resolve this problem.

String "MIDDLEWARE = ['django.middleware.common.CommonMiddleware']" I have in settings.p

Вернуться на верх