inspectdb should rather render ForeignKeyField object name as string not object
|Reported by:||haras||Owned by:||nobody|
|Component:||Core (Management commands)||Version:||1.3|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
IMHO inspectdb should rather render ForeignKeyField object name as string not object.
Models are dumped in alphabetical order and outputting ForeignKeyField argument as quoted string solves problem with reordering classes and import.