  site.register(AdminOrderedModelMethod, AdminOrderedModelMethodAdmin)
  site.register(AdminOrderedAdminMethod, AdminOrderedAdminMethodAdmin)
  site.register(AdminOrderedCallable, AdminOrderedCallableAdmin)
  
  # Register core models we need in our tests
  from django.contrib.auth.models import User, Group
  from django.contrib.auth.admin import UserAdmin, GroupAdmin
  site.register(User, UserAdmin)
  site.register(Group, GroupAdmin)
 
</s> remove 
 </s> add from django.template.loader import get_template
from django.template.context import Context
site.register(Color2, CustomTemplateFilterColorAdmin)
  site.register(AdminOrderedModelMethod, AdminOrderedModelMethodAdmin)
  site.register(AdminOrderedAdminMethod, AdminOrderedAdminMethodAdmin)
  site.register(AdminOrderedCallable, AdminOrderedCallableAdmin)
site.register(Color2, CustomTemplateFilterColorAdmin)
  
  # Register core models we need in our tests
  from django.contrib.auth.models import User, Group
  from django.contrib.auth.admin import UserAdmin, GroupAdmin
  site.register(User, UserAdmin)
  site.register(Group, GroupAdmin)
keep keep add keep keep keep keep keep keep
 Fixed #17515 -- Added ability to override the template of custom admin FilterSpec classes. Thanks, saxix and Julien Phalip.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17483 bcc190cf-cafb-0310-a4f2-bffc1f526a37 
tests/regressiontests/admin_views/admin.py