mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	[1.7.x] Fixed a typo in the admin documentation.
The 'app' subpackage does not exist, should be 'app'.
Backport of b9daa4f0e1 from master
			
			
This commit is contained in:
		
				
					committed by
					
						 Simon Charette
						Simon Charette
					
				
			
			
				
	
			
			
			
						parent
						
							9abc36b626
						
					
				
				
					commit
					fb8ddac27a
				
			| @@ -2509,7 +2509,7 @@ In this example, we register the ``AdminSite`` instance | |||||||
| Note that you may not want autodiscovery of ``admin`` modules when using your | Note that you may not want autodiscovery of ``admin`` modules when using your | ||||||
| own ``AdminSite`` instance since you will likely be importing all the per-app | own ``AdminSite`` instance since you will likely be importing all the per-app | ||||||
| ``admin`` modules in your ``myproject.admin`` module. This means you need to | ``admin`` modules in your ``myproject.admin`` module. This means you need to | ||||||
| put ``'django.contrib.admin.app.SimpleAdminConfig'`` instead of | put ``'django.contrib.admin.apps.SimpleAdminConfig'`` instead of | ||||||
| ``'django.contrib.admin'`` in your :setting:`INSTALLED_APPS` setting. | ``'django.contrib.admin'`` in your :setting:`INSTALLED_APPS` setting. | ||||||
|  |  | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user