inspectdb fails on tables with "-" in the name
|Reported by:||jack@…||Owned by:||adrian|
|Component:||Core (Management commands)||Version:|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
inspectdb fails for tables that have dashes in the name (using postgres). These tables can be created and manipulated by enclosing the table names in quotes. Ex: SELECT * FROM "some-table";. This should probably be detected and handled in the code instead of failing.