#18468: Define COMMENT in table / colomns -------------------------------------+------------------------------------- Reporter: mrechte | Owner: nobody Type: Uncategorized | Status: new Component: Database layer | Version: 1.4 (models, ORM) | Resolution: Severity: Normal | Triage Stage: Keywords: | Unreviewed Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- Changes (by niwi):
* cc: niwi@… (added) * needs_docs: => 0 * has_patch: 0 => 1 * needs_tests: => 0 * needs_better_patch: => 0 Comment: I've implemented initial implementatio for postgresql_psycopg2 backend: https://github.com/niwibe/django/compare/issue_18468 Is only implemented the table comment sql. If accepted as a new feature, would be nice to make design decisions. Today I put the comment for table in class "Meta", another option is to use the first line of the model docstrings. For fields, is more simple, just add an optional parameter "comment" at the Field. -- Ticket URL: <https://code.djangoproject.com/ticket/18468#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 post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.