#12096: model attributes are not set toplevel which causes doctools to miss the
attribute docstrings
-------------------------------------+--------------------------------------
Reporter: sejo | Owner: jacob
Status: assigned | Milestone:
Component: Core framework | Version: 1.1
Resolution: | Keywords: model, docstrings,
attributes
Stage: Accepted | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
-------------------------------------+--------------------------------------
Comment (by jacob):
This is actually because `ModelClass.field` raises `AttributeError` from
the descriptor. I've been wanting to stop that, anyway -- it ought to just
return the `Field` object.
--
Ticket URL: <http://code.djangoproject.com/ticket/12096#comment:4>
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
-~----------~----~----~----~------~----~------~--~---