Django

Code

Ticket #7184 (new)

Opened 1 week ago

Last modified 1 week ago

inspectdb outputs primary key

Reported by: mbeattie Assigned to: nobody
Component: django-admin.py inspectdb Version: SVN
Keywords: inspectdb primary key Cc:
Triage Stage: Unreviewed Has patch: 1
Needs documentation: 0 Needs tests: 0
Patch needs improvement: 0

Description

As noted in the djangobook http://new.djangobook.com/en/1.0/chapter16/ the inspectdb command outputs what are likely primary key fields as through they weren't. This simple change makes it insert them as comments.

Attachments

inspectdb.diff (167 bytes) - added by mbeattie on 05/06/08 21:13:03.
diff
inspectdb.txt (167 bytes) - added by mbeattie on 05/06/08 21:14:02.
diff

Change History

05/06/08 21:13:03 changed by mbeattie

  • attachment inspectdb.diff added.

diff

05/06/08 21:14:02 changed by mbeattie

  • attachment inspectdb.txt added.

diff

05/06/08 21:14:37 changed by mbeattie

  • needs_better_patch changed.
  • has_patch set to 1.
  • needs_tests changed.
  • needs_docs changed.

Add/Change #7184 (inspectdb outputs primary key)




Change Properties
Action