mirror of
				https://github.com/django/django.git
				synced 2025-10-31 01:25:32 +00:00 
			
		
		
		
	[1.11.x] Fixed #28548 -- Replaced 'middlewares' with 'middleware' in docs.
Backport of da3a5cee4f from master
			
			
This commit is contained in:
		| @@ -2117,7 +2117,7 @@ To use ``LocaleMiddleware``, add ``'django.middleware.locale.LocaleMiddleware'`` | ||||
| to your :setting:`MIDDLEWARE` setting. Because middleware order matters, follow | ||||
| these guidelines: | ||||
|  | ||||
| * Make sure it's one of the first middlewares installed. | ||||
| * Make sure it's one of the first middleware installed. | ||||
| * It should come after ``SessionMiddleware``, because ``LocaleMiddleware`` | ||||
|   makes use of session data. And it should come before ``CommonMiddleware`` | ||||
|   because ``CommonMiddleware`` needs an activated language in order | ||||
|   | ||||
		Reference in New Issue
	
	Block a user