mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	git-svn-id: http://code.djangoproject.com/svn/django/trunk@11645 bcc190cf-cafb-0310-a4f2-bffc1f526a37
		
			
				
	
	
		
			14 lines
		
	
	
		
			429 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			429 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| from django.conf.urls.defaults import *
 | |
| from django.contrib import admin
 | |
| from django.contrib.comments.admin import CommentsAdmin
 | |
| from django.contrib.comments.models import Comment
 | |
| 
 | |
| # Make a new AdminSite to avoid picking up the deliberately broken admin
 | |
| # modules in other tests.
 | |
| admin_site = admin.AdminSite()
 | |
| admin_site.register(Comment, CommentsAdmin)
 | |
| 
 | |
| urlpatterns = patterns('',
 | |
|     (r'^admin/', include(admin_site.urls)),
 | |
| )
 |