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 8317,inspectdb does not set primary_key=True or unique=True on foreign keys,Bob Thomas,David Gouldin,The inspectdb command will not set primary_key=True or unique=True on ForeignKey fields when the column is also a primary key.,Bug,closed,Core (Management commands),dev,Normal,fixed,inspectdb,,Accepted,1,0,1,0,0,0