Opened 9 years ago

Closed 8 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: master
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: UI/UX:

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)

patch-inspectdb-columncase.diff (1.3 KB) - added by Gregor_Kopka 9 years ago.

Download all attachments as: .zip

Change History (4)

Changed 9 years ago by Gregor_Kopka

comment:1 Changed 9 years ago by Pete Crosier

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Summary: [patch] inspectdb lowercases all column names without creating correct db_columninspectdb lowercases all column names without creating correct db_column

comment:2 Changed 9 years ago by Jacob

Triage Stage: UnreviewedAccepted

comment:3 Changed 8 years ago by Karen Tracey

Resolution: fixed
Status: newclosed

r9053 looks to have fixed this.

Note: See TracTickets for help on using tickets.
Back to Top