﻿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
7565	Fixture problem with child models	casey@…	Malcolm Tredinnick	"There seems to be a problem importing fixtures for child models.  Supposing I have a model myapp.MyGroup that inherits from auth.Group, and I have a fixture that includes MyGroup data, I receive the following error:

psycopg2.ProgrammingError: column ""id"" does not exist at character 54

generated from this SQL:

SELECT setval('""myapp_mygroup_id_seq""', coalesce(max(""id""), 1), max(""id"") IS NOT null) FROM ""myapp_mygroup"";

As far as I can tell, it appears that it is attempting to updating the sequence for the pk of the child model (for which there is none) using the ""myapp.mygroup.id"" column (which doesn't exist).
"		closed	Uncategorized	dev		fixed			Unreviewed	0	0	0	0	0	0
