﻿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
27533	inspectdb crashes on unsupported unique_together constraints in PostgreSQL	Wei Ma	Michael Sinov	"inspectdb command crashes when I try to generate model classes from postgres db. 

the command I used was 
python manage.py inspectdb > all_models.py

the error I got was:

File ""/xxx/env/lib/python3.5/site-packages/django/core/management/commands/inspectdb.py"", line 278, in <genexpr>
    tup = '(' + ', '.join(""'%s'"" % column_to_field_name[c] for c in columns) + ')'
KeyError: None"	Bug	closed	Database layer (models, ORM)	1.10	Normal	fixed			Accepted	1	0	0	1	0	0
