Opened 17 years ago
Closed 16 years ago
#5643 closed (fixed)
inspectdb lowercases all column names without creating correct db_column
Reported by: | Gregor_Kopka | Owned by: | nobody |
---|---|---|---|
Component: | django-admin.py inspectdb | Version: | dev |
Severity: | Keywords: | inspectdb uppercase column names | |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
./manage.py inspectdb
always creates lowercase fieldnames. Problem is that when the column names in database contain uppercase characters then no db_column argument is created.
Attached patch fixes that.
Attachments (1)
Change History (4)
by , 17 years ago
Attachment: | patch-inspectdb-columncase.diff added |
---|
comment:1 by , 17 years ago
Summary: | [patch] inspectdb lowercases all column names without creating correct db_column → inspectdb lowercases all column names without creating correct db_column |
---|
comment:2 by , 17 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:3 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
r9053 looks to have fixed this.