﻿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
13392	Bug introduced with #12977 : can't copy fields with metaclass	"Stephane ""Twidi"" Angel"	nobody	"I'm using [http://code.google.com/p/django-transmeta/ django-transmeta] to create fields for many langs

Say i have a field ""description"" and with the metaclass provided by django-transmeta, this field is transformed in description_fr + description_en and so on.

But with commit #12977, it doesn't work anymore, as the work is done by copying field (in the {{{__new__}}} method of the Transmeta metaclass), and at this stage, fields have not models and then {{{__setstate__}}} (in [/browser/django//trunk/django/db/models/fields/__init__.py#L141 db/models/fields/__init__.py]) fails (because of self.model)

No idea how to make a clean copy of the field without copy.copy..."		closed	Database layer (models, ORM)	1.2-beta		invalid			Unreviewed	0	0	0	0	0	0
