mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	Explained exception to using include() within urlpatterns in tutorial 1.
This commit is contained in:
		
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							d4e4520efb
						
					
				
				
					commit
					40a60d589e
				
			| @@ -293,7 +293,8 @@ app will still work. | ||||
| .. admonition:: When to use :func:`~django.urls.include()` | ||||
|  | ||||
|     You should always use ``include()`` when you include other URL patterns. | ||||
|     ``admin.site.urls`` is the only exception to this. | ||||
|     The only exception is ``admin.site.urls``, which is a pre-built URLconf | ||||
|     provided by Django for the default admin site. | ||||
|  | ||||
| You have now wired an ``index`` view into the URLconf. Verify it's working with | ||||
| the following command: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user