#34030: add SystemCheckError for LocaleMiddleware
-------------------------------------+-------------------------------------
     Reporter:  Maxim Danilov        |                    Owner:  Jay Patel
         Type:  New feature          |                   Status:  assigned
    Component:  Core (Management     |                  Version:  4.0
  commands)                          |
     Severity:  Normal               |               Resolution:
     Keywords:  i18n, SystemCheck    |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  1                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Jay Patel):

 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.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34030#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070183700fd7a4-868d1ae4-aaa7-4ae1-8a96-cae6c09b4b5f-000000%40eu-central-1.amazonses.com.

Reply via email to