id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 525 list_filter doesn't work with models which primary key is not named 'id' nesh Adrian Holovaty "I'm using package model and when I'm set list_filter to 'package' I'm getting following traceback. It seems to that filter code doesn't work with models which primary key is not named 'id'. {{{ There's been an error: Traceback (most recent call last): File ""/Users/nesh/devel/django/django/core/handlers/base.py"", line 64, in get_response response = callback(request, **param_dict) File ""/Users/nesh/devel/django/django/views/admin/main.py"", line 211, in change_list filter_template.append('%r\n' % \ AttributeError: 'Package' object has no attribute 'id' }}}" defect closed contrib.admin normal fixed Unreviewed 0 0 0 0 0 0