Opened 8 years ago

Closed 7 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 8 years ago.

Download all attachments as: .zip

Change History (4)

Changed 8 years ago by Gregor_Kopka

comment:1 Changed 7 years ago by PJCrosier

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Summary changed from [patch] inspectdb lowercases all column names without creating correct db_column to inspectdb lowercases all column names without creating correct db_column

comment:2 Changed 7 years ago by jacob

  • Triage Stage changed from Unreviewed to Accepted

comment:3 Changed 7 years ago by kmtracey

  • Resolution set to fixed
  • Status changed from new to closed

r9053 looks to have fixed this.

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