#18468: Add the ability to define comments in table / columns
-------------------------------------+-------------------------------------
     Reporter:  Marc Rechté          |                    Owner:
                                     |  KimSoungRyoul
         Type:  New feature          |                   Status:  assigned
    Component:  Database layer       |                  Version:  master
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  1
  Needs tests:  1                    |  Patch needs improvement:  1
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Description changed by KimSoungRyoul:

Old description:

> Hello,
>
> That would be nice if it was possible to include comment on table /
> columns at creation time with the syncdb manage.py option.
>

>
> **new proposal**
>
> We will develop the code such as below
>
> {{{
>
> class AModel(models.Model):
>      aaa = model.CharField(help_text="i am help_text", db_comment="i am
> db_comment",~~~)
>
>      class Meta:
>            db_table = "a_model_example_name"
>            db_table_comment ="this is a_model comment ~~~~"
>
> }}}

New description:

 Hello,

 That would be nice if it was possible to include comment on table /
 columns at creation time with the syncdb manage.py option.



 **new proposal**  (kimsoungryoul : 2020.03.23)

 We will develop the code such as below

 {{{

 class AModel(models.Model):
      aaa = model.CharField(help_text="i am help_text", db_comment="i am
 db_comment",~~~)

      class Meta:
            db_table = "a_model_example_name"
            db_table_comment ="this is a_model comment ~~~~"

 }}}

--

-- 
Ticket URL: <https://code.djangoproject.com/ticket/18468#comment:18>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.d40fbf6eb3e09001683eb71b012b47fc%40djangoproject.com.

Reply via email to