mirror of
				https://github.com/django/django.git
				synced 2025-11-03 21:25:09 +00:00 
			
		
		
		
	Fixed #19897 - Updated static files howto.
Thanks Jan Murre, Reinout van Rees and Wim Feijen, plus Remco Wendt for reviewing.
This commit is contained in:
		
							parent
							
								
									c32fc79aa1
								
							
						
					
					
						commit
						6c730da1f6
					
				
					 22 changed files with 340 additions and 481 deletions
				
			
		| 
						 | 
				
			
			@ -5,7 +5,7 @@ Managing files
 | 
			
		|||
This document describes Django's file access APIs for files such as those
 | 
			
		||||
uploaded by a user. The lower level APIs are general enough that you could use
 | 
			
		||||
them for other purposes. If you want to handle "static files" (JS, CSS, etc),
 | 
			
		||||
see :doc:`/howto/static-files`.
 | 
			
		||||
see :doc:`/howto/static-files/index`.
 | 
			
		||||
 | 
			
		||||
By default, Django stores files locally, using the :setting:`MEDIA_ROOT` and
 | 
			
		||||
:setting:`MEDIA_URL` settings. The examples below assume that you're using these
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1102,7 +1102,7 @@ out the `full reference`_ for more details.
 | 
			
		|||
.. note::
 | 
			
		||||
 | 
			
		||||
    ``LiveServerTestCase`` makes use of the :doc:`staticfiles contrib app
 | 
			
		||||
    </howto/static-files>` so you'll need to have your project configured
 | 
			
		||||
    </howto/static-files/index>` so you'll need to have your project configured
 | 
			
		||||
    accordingly (in particular by setting :setting:`STATIC_URL`).
 | 
			
		||||
 | 
			
		||||
.. note::
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue