#6935 closed (fixed)
inspectdb should handle table names with spaces.
Description ¶
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)
by , 17 years ago
Attachment: | handle-table-name-spaces.diff added |
---|
comment:1 by , 17 years ago
Has patch: | set |
---|---|
Triage Stage: | Unreviewed → Accepted |
comment:2 by , 17 years ago
comment:3 by , 17 years ago
milestone: | → 1.0 |
---|
comment:4 by , 17 years ago
Owner: | changed from | to
---|
comment:5 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
#7285 is the same problem with field names and dashes.