inspectdb should handle table names with spaces.
|Reported by:||adamv||Owned by:||jdunck|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Some databases allow tables with spaces in the name, assuming that these table names are properly quoted in queries. (MS Sql Server, for example.)
The table-name-to-python-class-name lambda in inspectdb isn't handling spaces, which is generating invalid python class names.
This patch address that issue.
Change History (7)
Changed 6 years ago by adamv
comment:1 Changed 6 years ago by telenieko
- Has patch set
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Triage Stage changed from Unreviewed to Accepted