mirror of
				https://github.com/django/django.git
				synced 2025-10-31 01:25:32 +00:00 
			
		
		
		
	Added admin.autodiscover() to project template urls.py. It is left commented out intentionally. Thanks tome for the suggestion. Refs #7824.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8009 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
		| @@ -3,6 +3,9 @@ from django.conf.urls.defaults import * | ||||
| # Uncomment this for admin: | ||||
| # from django.contrib import admin | ||||
|  | ||||
| # Uncomment to load INSTALLED_APPS admin.py module for default AdminSite instance. | ||||
| # admin.autodiscover() | ||||
|  | ||||
| urlpatterns = patterns('', | ||||
|     # Example: | ||||
|     # (r'^{{ project_name }}/', include('{{ project_name }}.foo.urls')), | ||||
|   | ||||
		Reference in New Issue
	
	Block a user