﻿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
18501	Custom fields as foreign keys fix	Melvyn Sopacua	nobody	"Custom fields which have a different database representation as python representation are not handled correctly when rendered as Select fields. The underlying cause is that the value on the model that has the foreign key is the database representation and it is not converted to python representation when model_to_dict is called.

The ForeignKey field subclasses RelatedField and Field, but RelatedField does not override it's value_from_object method to convert the value to python."	Bug	closed	Database layer (models, ORM)	dev	Normal	needsinfo	RelatedField		Accepted	1	0	1	0	0	0
