Macintosh:Dtest renevanhoek$ python ./manage.py test t15032 Creating test database 'default'... Creating table auth_permission Creating table auth_group_permissions Creating table auth_group Creating table auth_user_user_permissions Creating table auth_user_groups Creating table auth_user Creating table auth_message Creating table django_content_type Creating table django_session Creating table django_site Creating table django_admin_log Creating table t15032_person Creating table t15032_employee Creating table t15032_workhour Installing index for auth.Permission model Installing index for auth.Group_permissions model Installing index for auth.User_user_permissions model Installing index for auth.User_groups model Installing index for auth.Message model Installing index for admin.LogEntry model Installing index for t15032.WorkHour model No fixtures found. E ====================================================================== ERROR: testFilterSubclassed (t15032.tests.SubclassedAdminFilterTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/renevanhoek/Documents/workspace/Dtest/t15032/tests.py", line 32, in testFilterSubclassed response = self.client.get("/admin/t15032/workhour/?employee__person_ptr__exact=%d" % e1.pk) File "/Users/renevanhoek/Documents/workspace/Dtest/django/test/client.py", line 298, in get response = self.request(**r) File "/Users/renevanhoek/Documents/workspace/Dtest/django/core/handlers/base.py", line 100, in get_response response = callback(request, *callback_args, **callback_kwargs) File "/Users/renevanhoek/Documents/workspace/Dtest/django/contrib/admin/options.py", line 265, in wrapper return self.admin_site.admin_view(view)(*args, **kwargs) File "/Users/renevanhoek/Documents/workspace/Dtest/django/utils/decorators.py", line 76, in _wrapped_view response = view_func(request, *args, **kwargs) File "/Users/renevanhoek/Documents/workspace/Dtest/django/views/decorators/cache.py", line 78, in _wrapped_view_func response = view_func(request, *args, **kwargs) File "/Users/renevanhoek/Documents/workspace/Dtest/django/contrib/admin/sites.py", line 190, in inner return view(request, *args, **kwargs) File "/Users/renevanhoek/Documents/workspace/Dtest/django/utils/decorators.py", line 21, in _wrapper return decorator(bound_func)(*args, **kwargs) File "/Users/renevanhoek/Documents/workspace/Dtest/django/utils/decorators.py", line 76, in _wrapped_view response = view_func(request, *args, **kwargs) File "/Users/renevanhoek/Documents/workspace/Dtest/django/utils/decorators.py", line 17, in bound_func return func(self, *args2, **kwargs2) File "/Users/renevanhoek/Documents/workspace/Dtest/django/contrib/admin/options.py", line 994, in changelist_view self.date_hierarchy, self.search_fields, self.list_select_related, self.list_per_page, self.list_editable, self) File "/Users/renevanhoek/Documents/workspace/Dtest/django/contrib/admin/views/main.py", line 64, in __init__ self.query_set = self.get_query_set() File "/Users/renevanhoek/Documents/workspace/Dtest/django/contrib/admin/views/main.py", line 193, in get_query_set "Filtering by %s not allowed" % key SuspiciousOperation: Filtering by employee__person_ptr__exact not allowed ---------------------------------------------------------------------- Ran 1 test in 0.206s FAILED (errors=1) Destroying test database 'default'... Macintosh:Dtest renevanhoek$