﻿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
13516	sqlall silently ignores any fields that are a subclass of AutoField	Michael Manfre	Michael Manfre	"A field that is a subclass of AutoField will be silently ignored in the output of manage.py sqlall

An app with a models.py containing:

{{{
class MyAutoField(models.AutoField):
    pass

class TestModel(models.Model):
    id = MyAutoField(primary_key=True, db_column='SomeID')

}}}

will output the below from sqlall for sqlite3.

{{{
BEGIN;
CREATE TABLE ""testapp_testmodel"" (
)
;
COMMIT;
}}}

sqlall works as expected when models.AutoField is used instead of MyAutoField."		closed	Database layer (models, ORM)	1.1		fixed			Ready for checkin	1	0	0	0	0	0
