Opened 7 years ago

Last modified 7 years ago

#28407 closed New feature

add db column comments to models Field comment_note — at Version 1

Reported by: 007 Owned by: nobody
Component: Database layer (models, ORM) Version: 1.11
Severity: Normal Keywords: db comment
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: yes Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by 007)

when use inspectdb make model from db.
the db column is created by dba, not developer .
so db column comments set to models Field is helpful for developer.
like

field = models.IntegerField(blank=True, null=True) #comments in db

https://github.com/django/django/pull/8770

Change History (1)

comment:1 by 007, 7 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top