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)

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

Download all attachments as: .zip

Change History (4)

by Gregor_Kopka, 17 years ago

comment:1 by Pete Crosier, 17 years ago

Summary: [patch] inspectdb lowercases all column names without creating correct db_columninspectdb lowercases all column names without creating correct db_column

comment:2 by Jacob, 17 years ago

Triage Stage: UnreviewedAccepted

comment:3 by Karen Tracey, 16 years ago

Resolution: fixed
Status: newclosed

r9053 looks to have fixed this.

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