﻿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
21097	IntrospectionTests incorrectly validates an AutoField as an IntegerField	Michael Manfre	Michael Manfre	"The Reporter model doesn't have an explicitly defined primary_key and should have an implicit {{{AutoField(primary_key=True)}}} added to the model.

https://docs.djangoproject.com/en/dev/topics/db/models/#automatic-primary-key-fields

None of the core backends support introspecting an AutoField, but some 3rd party backends do (django-mssql). I propose adding a new DatabaseFeature {{{can_introspect_autofield}}} that allows backends to decide whether they can distinguish between an AutoField and an IntegerField."	Bug	closed	Testing framework	dev	Normal	fixed	inspectdb		Ready for checkin	1	0	0	0	1	0
