#7977: add geo support to admindocs
----------------------------------------------+-----------------------------
Reporter: [email protected] | Owner: jbronn
Status: assigned | Milestone:
Component: GIS | Version: gis
Resolution: | Keywords:
Stage: Accepted | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 1 |
----------------------------------------------+-----------------------------
Comment (by jcd):
In my mind, using -OO is an explicit declaration that you aren't
interested in the documentation. So it doesn't seem unreasonable that it
would affect the output of admindocs. Also, the problem is mitigated by
having a sensible default to fall back on. Even in the absence of any
docstrings whatsoever, my patch will produce decent output. It also
seemed cleaner than creating a Field.doc attribute, which would (mostly)
duplicate the functionality of a docstring.
That said, it should be easy enough to redo the patch using attributes
instead of docstrings, if the consensus is that it would be better that
way.
--
Ticket URL: <http://code.djangoproject.com/ticket/7977#comment:13>
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
-~----------~----~----~----~------~----~------~--~---