Python version
3.11.7
Django version
4.2.8
Package version
0.28.3
Current behavior (bug description)
If you do not use django.middleware.locale.LocaleMiddleware in your settings.MIDDLEWARE but have an own custom middleware inheriting from django.middleware.locale.LocaleMiddleware the code at
| if "django.middleware.locale.LocaleMiddleware" not in settings.MIDDLEWARE: |
throws an unnecessary warning.
Expected behavior
Omit the warning or think about another way to not throw an unnecessary warning?