#28407: add db column comments to models Field comment_note
-------------------------------------+-------------------------------------
Reporter: 007gzs | Owner: nobody
Type: New feature | Status: new
Component: Database layer | Version: 1.11
(models, ORM) |
Severity: Normal | Resolution:
Keywords: db comment | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Description changed by 007gzs:
Old description:
> 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/8738]
New description:
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]
--
--
Ticket URL: <https://code.djangoproject.com/ticket/28407#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/064.6234b5868e4495bf23148d7931195c24%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.