#34030: add SystemCheckError for LocaleMiddleware
-------------------------------------+-------------------------------------
               Reporter:  Maxim      |          Owner:  nobody
  Danilov                            |
                   Type:  New        |         Status:  new
  feature                            |
              Component:  Core       |        Version:  4.0
  (Management commands)              |
               Severity:  Normal     |       Keywords:  i18n, SystemCheck
           Triage Stage:             |      Has patch:  0
  Unreviewed                         |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  1
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 From documentation:
 To use LocaleMiddleware, add 'django.middleware.locale.LocaleMiddleware'
 to your MIDDLEWARE setting.
 It should come after SessionMiddleware. And it should come before
 CommonMiddleware

 for AuthenticationMiddleware we have already this systemCheck admin.E410:

 ERRORS: (admin.E410)
 'django.contrib.sessions.middleware.SessionMiddleware' must be in
 MIDDLEWARE in order to use the admin application.
         HINT: Insert
 'django.contrib.sessions.middleware.SessionMiddleware' before
 'django.contrib.auth.middleware.AuthenticationMiddleware'.

 But we don't have those check for LocaleMiddleware

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34030>
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/01070183668c16a0-809a427d-8351-4f94-b5ca-aba5aa4b5215-000000%40eu-central-1.amazonses.com.

Reply via email to