Which django middlewares are required? #1271
Unanswered
jamesleeht
asked this question in
Q&A
Replies: 1 comment
-
This is more of a general django question, but you can follow some of my thoughts here: if you use django admin UI - OR your authentication uses cookies - bettter keep them all if not (your auth is like header based and only for clients outiside browser - then these minimal I would always keep
but be carefull - maybe if future you will add something and it will be painful security issue |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When you create a django project it comes with a list of middlewares by default.
If I am not using any django features except an ORM with a simple rest API, do I still need to include all middlewares?
Appreciate any clarificaiton!
Beta Was this translation helpful? Give feedback.
All reactions