﻿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
21940	Consistent contribute_to_class's virtual_only	German M. Bravo	nobody	I needed to create a field like class for my django project and I wanted it to be a virtual field... `virtual_only` is there for that reason, but my field was inheriting from `FileField`, and `FileField.contribute_to_class()` doesn't take `virtual_only` and so it doesn't passes it to `Field.contribute_to_class()`. I believe passing `virtual_only` attribute should be consistent across the source code. I'm attaching a simple patch to fix this. One warning would be for custom fields made by users which have their own `contribute_to_class` (those will need to be changed to properly receive the `virtual_only` parameter as optional.)	Cleanup/optimization	closed	Database layer (models, ORM)	1.6	Normal	fixed		mmitar@… jernej@…	Accepted	1	0	0	1	0	0
