﻿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
3332	field.attname should be used rather than using field.column	annonymous	Adrian Holovaty	"field.attname should be used rather than using field.column

line: 136 on django/contrib/admin/views/main.py
{{{
    def original_value(self):
        if self.original:
#            return self.original.__dict__[self.field.column]
            return self.original.__dict__[self.field.attname]
}}}

Otherwise, when ""db_column"" is used in primary_key field with foreign key, it will be error."		closed	contrib.admin	dev		duplicate			Unreviewed	0	0	0	0	0	0
