Changes between Initial Version and Version 1 of Ticket #34030, comment 2
- Timestamp:
- Sep 24, 2022, 11:01:19 AM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #34030, comment 2
initial v1 1 Check for LocaleMiddleware to come after SessionMiddleware can be done by `if not hasattr(request, "session")` in `def process_request` of class LocalMiddleware but how to check that it should come before CommonMiddleware? or am I thinking in a complete wrong direction.1 Check for LocaleMiddleware to come after SessionMiddleware can be done by `if not hasattr(request, "session")` in `def process_request` of class LocalMiddleware but how to check that it should come before CommonMiddleware?