tickets_full: 303

This data as json

id created changetime last_pulled_from_trac stage status component type severity version resolution summary description owner reporter keywords easy has_patch needs_better_patch needs_tests needs_docs ui_ux
303 2005-08-10 22:53:39 2006-10-16 14:53:34 2019-06-24 00:18:29.799924 Unreviewed closed contrib.admin defect normal   invalid Error: got unexpected keyword argument when deleting object in admin interface Traceback: {{{ There's been an error: Traceback (most recent call last): File "/usr/local/lib/python2.4/site-packages/django/core/handlers/base.py", line 62, in get_response return callback(request, **param_dict) File "/usr/local/lib/python2.4/site-packages/django/views/admin/main.py", line 1061, in delete_stage _get_deleted_objects(deleted_objects, perms_needed, request.user, obj, opts, 1) File "/usr/local/lib/python2.4/site-packages/django/views/admin/main.py", line 1006, in _get_deleted_objects for sub_obj in getattr(obj, 'get_%s_list' % rel_opts_name)(): File "/usr/local/lib/python2.4/site-packages/django/utils/functional.py", line 3, in _curried return args[0](*(args[1:]+moreargs), **dict(kwargs.items() + morekwargs.items())) File "/usr/local/lib/python2.4/site-packages/django/core/meta/__init__.py", line 876, in method_get_related return getattr(rel_mod, method_name)(**kwargs) File "/usr/local/lib/python2.4/site-packages/django/utils/functional.py", line 3, in _curried return args[0](*(args[1:]+moreargs), **dict(kwargs.items() + morekwargs.items())) File "/usr/local/lib/python2.4/site-packages/django/core/meta/__init__.py", line 1066, in function_get_list return list(function_get_iterator(opts, klass, **kwargs)) File "/usr/local/lib/python2.4/site-packages/django/core/meta/__init__.py", line 1048, in function_get_iterator select, sql, params = function_get_sql_clause(opts, **kwargs) File "/usr/local/lib/python2.4/site-packages/django/core/meta/__init__.py", line 1235, in function_get_sql_clause tables2, join_where2, where2, params2, _ = _parse_lookup(kwargs.items(), opts) File "/usr/local/lib/python2.4/site-packages/django/core/meta/__init__.py", line 1171, in _parse_lookup _throw_bad_kwarg_error(kwarg) File "/usr/local/lib/python2.4/site-packages/django/core/meta/__init__.py", line 1124, in _throw_bad_kwarg_error raise TypeError, "got unexpected keyword argument '%s'" % kwarg TypeError: got unexpected keyword argument 'team2__exact' }}} Model: {{{ class Team (meta.Model): fields = ( meta.CharField('teamname', maxlength=32), meta.CharField('tags', maxlength=8), meta.CharField('contact', maxlength=32, blank=True), meta.CharField('phone', maxlength=16, blank=True), meta.CharField('seatno', maxlength=6, blank=True), ) def __repr__(self): return self.teamname admin = meta.Admin() class Player (meta.Model): fields = ( meta.CharField('realname', maxlength=32, blank=True), meta.IntegerField('bookingid'), meta.IntegerField('profileid', db_index=True), meta.CharField('ingamename', maxlength=32, db_index=True), meta.ForeignKey(Team, blank=True), meta.ForeignKey(Server, name="lastseenon") ) def __repr__(self): return self.ingamename admin = meta.Admin( search_fields = ['ingamename', 'profileid'], ) class Team (meta.Model): fields = ( meta.CharField('teamname', maxlength=32), meta.CharField('tags', maxlength=8), meta.CharField('contact', maxlength=32, blank=True), meta.CharField('phone', maxlength=16, blank=True), meta.CharField('seatno', maxlength=6, blank=True), ) def __repr__(self): return self.teamname admin = meta.Admin() }}} When I delete a team, I get the traceback above and the team is not deleted adrian Boffbowsh delete object admin 0 0 0 0 0 0