#13867: Feature request: docstring and comments in Django models saved to
database
schema
---------------------------------------------------+------------------------
Reporter: rjalves | Owner: nobody
Status: new | Milestone: 1.3
Component: Database layer (models, ORM) | Version: 1.2
Resolution: | Keywords:
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
---------------------------------------------------+------------------------
Changes (by lrekucki):
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
Comment:
I'm assuming this refers to PostgreSQL specific
[http://www.postgresql.org/docs/8.2/static/sql-comment.html COMMENT]
extension to SQL. Instead of adding a new {{{comment}}} argument to
fields, {{{help_text}}} could be reused. Table comments should probably go
into the model's Meta with all the other stuff (like verbose_name). Using
a special docstring syntax adds unnecessary complexity and magic.
--
Ticket URL: <http://code.djangoproject.com/ticket/13867#comment:1>
Django <http://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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.