mirror of
				https://github.com/django/django.git
				synced 2025-10-31 01:25:32 +00:00 
			
		
		
		
	[1.11.x] Fixed #27701 -- Doc'd staticfiles runserver bypasses middleware when serving static files.
Backport of 20a761697f from master
			
			
This commit is contained in:
		| @@ -201,7 +201,9 @@ the directories which were searched:: | ||||
|  | ||||
| Overrides the core :djadmin:`runserver` command if the ``staticfiles`` app | ||||
| is :setting:`installed<INSTALLED_APPS>` and adds automatic serving of static | ||||
| files and the following new options. | ||||
| files. File serving doesn't run through :setting:`MIDDLEWARE`. | ||||
|  | ||||
| The command adds these options: | ||||
|  | ||||
| .. django-admin-option:: --nostatic | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user