﻿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
13393	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] for transforming a field into many fields, one for each lang (ex description transformed into description_en and description_fr)

django-transmeta works with a metaclass, and in this metaclass, the new fields are created with copy.copy.

But since the commit #12977, it doesn't work because when this is done, (in the {{{__new__}}} method of the Transmeta metaclass), the field has no model yet, and then an exception is raised in {{{__setstate__}}} at ligne 146 of [http://code.djangoproject.com/changeset/12977/django/trunk/django/db/models/fields/__init__.py db/models/fields/__init__.py]

Is it a bad way of doing it in django-transmeta ?"		closed	Database layer (models, ORM)	1.2-beta		duplicate			Unreviewed	0	0	0	0	0	0
