Changes between Initial Version and Version 5 of Ticket #35555
- Timestamp:
- Jun 25, 2024, 10:03:31 AM (5 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #35555 – Description
initial v5 3 3 This is nice, and something than happens at runtime for other middlewares in `contrib.auth`, for example: 4 4 5 [https://github.com/django/django/blob/f1705c8780c0a7587654fc736542d55fe4a7f29b/django/contrib/auth/middleware.py#L91-L120 Remo veUserMiddleware] raises a `ImproperlyConfigured` error if it's enabled but `AuthenticationMiddleware` isn't enabled, or is placed after it.5 [https://github.com/django/django/blob/f1705c8780c0a7587654fc736542d55fe4a7f29b/django/contrib/auth/middleware.py#L91-L120 RemoteUserMiddleware] raises a `ImproperlyConfigured` error if it's enabled but `AuthenticationMiddleware` isn't enabled, or is placed after it. 6 6 7 7 [https://github.com/django/django/blob/f1705c8780c0a7587654fc736542d55fe4a7f29b/django/contrib/auth/middleware.py#L27-L38 AuthenticationMiddleware] itself also raises a `ImproperlyConfigured` error if it's enabled but `SessionMiddleware` is not (or isn't executed before reaching it).