Answer the question
In order to leave comments, you need to log in
What middleware in Django (DRF + JWT) can be disabled?
I use Django 1.11.x + DRF 3.7.x + in the project
Answer the question
In order to leave comments, you need to log in
Without SessionMiddleware, you won't be able to log into the admin area.
Without CommonMiddleware, Content-Length will not be set.
MessageMiddleware can be disabled, but there will be no messages in the admin panel, which is not critical.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question