StackOverflow Questions for Tag: django-middleware

Q Caron
Q Caron

Reputation: 1023

Django HTTP response always sets `sessionid` cookie and session data do not persist

Score: 1

Views: 61

Answers: 2

Read More
Coding Guy
Coding Guy

Reputation: 11

request.user.is_authenticated is returning False even though `X-Session-Token` header is sent in django-allauth (headless) {app}

Score: 1

Views: 347

Answers: 4

Read More
Zedh
Zedh

Reputation: 155

Django - Middleware losing connection with database on multi-tenant app

Score: 1

Views: 73

Answers: 1

Read More
power
power

Reputation: 1760

Django Logger vs Logging Middleware

Score: 5

Views: 5464

Answers: 2

Read More
everspader
everspader

Reputation: 1700

How to write custom authentication backend for one endpoint only (/metrics) in Django?

Score: 4

Views: 492

Answers: 1

Read More
andy_H
andy_H

Reputation: 63

Django: Middleware for JWT Token Encryption and Cookie Setting

Score: 1

Views: 90

Answers: 1

Read More
Ömer Ekmen
Ömer Ekmen

Reputation: 11

Django Custom Dynamic urlpatterns

Score: 1

Views: 53

Answers: 1

Read More
DevinG
DevinG

Reputation: 341

What is the best way to make sure the "django-timezone" session variable is set based on a user's profile preference each time they log in

Score: 1

Views: 54

Answers: 1

Read More
zbla
zbla

Reputation: 31

How to manage language redirection in Django middleware with user authentication?

Score: 0

Views: 20

Answers: 0

Read More
foucdeg
foucdeg

Reputation: 875

Finding the middleware that interrupted a Django request

Score: 1

Views: 132

Answers: 1

Read More
tino
tino

Reputation: 4830

Accessing the current view class instance in Django middleware

Score: 9

Views: 5476

Answers: 5

Read More
shyam rathod
shyam rathod

Reputation: 145

How to make Django custom user restrict middleware?

Score: 0

Views: 36

Answers: 0

Read More
vishu
vishu

Reputation: 601

ContentNotRenderedError: The response content must be rendered before it can be accessed (Django Middleware)

Score: 4

Views: 9675

Answers: 2

Read More
Taha_Shahid
Taha_Shahid

Reputation: 1

ByPass Django Basic Auth

Score: 0

Views: 63

Answers: 0

Read More
Juan Molina
Juan Molina

Reputation: 1

CSRF Token missing when it's there

Score: -1

Views: 52

Answers: 1

Read More
Atma
Atma

Reputation: 29767

How to set up custom middleware in Django?

Score: 120

Views: 75229

Answers: 6

Read More
zamoosh
zamoosh

Reputation: 87

CommonMiddleware is not working in custom middlewares

Score: 0

Views: 184

Answers: 1

Read More
Shiva Krishna Bavandla
Shiva Krishna Bavandla

Reputation: 26648

Autologout a user after specific time in django

Score: 6

Views: 10828

Answers: 2

Read More
Abdulaziz Ibrahim
Abdulaziz Ibrahim

Reputation: 185

How to resolve missing 1 required positional argument: 'get_response' in Django

Score: 1

Views: 558

Answers: 2

Read More
Labeeb
Labeeb

Reputation: 43

How to assign user and user.profile to the request object using a single database query in django?

Score: 0

Views: 39

Answers: 1

Read More
PreviousPage 1Next