#10622: List editable breaks with model inheritance -------------------------------------------+-------------------------------- Reporter: oyvind | Owner: nobody Status: new | Milestone: 1.1 Component: django.contrib.admin | Version: SVN Resolution: | Keywords: list_editable inheritance Stage: Unreviewed | Has_patch: 0 Needs_docs: 0 | Needs_tests: 0 Needs_better_patch: 0 | -------------------------------------------+-------------------------------- Comment (by oyvind):
In file /home/oyvind/code/django/contrib/admin/templatetags/admin_list.py line 240, in items_for_result {{{ #!python yield mark_safe(force_unicode(form[cl.model._meta.pk.attname])) }}} Changed to {{{ #!python yield mark_safe(force_unicode(form[cl.model._meta.pk.name])) }}} name is used here: http://code.djangoproject.com/browser/django/trunk/django/forms/models.py#L444 -- Ticket URL: <http://code.djangoproject.com/ticket/10622#comment:2> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---