#14183: Geodjango models broken with pydoc -----------------------------------+---------------------------------------- Reporter: dzwarg | Owner: nobody Status: new | Milestone: Component: Contrib apps | Version: 1.1 Resolution: | Keywords: pydoc Stage: Unreviewed | Has_patch: 0 Needs_docs: 0 | Needs_tests: 0 Needs_better_patch: 0 | -----------------------------------+---------------------------------------- Changes (by dariog):
* needs_better_patch: => 0 * needs_tests: => 0 * needs_docs: => 0 Comment: I probed it with python 2.6.4 and spatialite 2.3 and it works fine.[[BR]] With the same definition in models.py I follow the same steps.[[BR]] Steps to reproduce: 1. django-admin startproject pydoctest 2. cd pydoctest 3. django-admin startapp geotest 4. edit settings.py -- use a spatial db, like spatialite, add geotest to INSTALLED_APPS 5. cd .. 6. export DJANGO_SETTINGS_MODULE=pydoctest.settings 7. pydoc pydoctest.geotest.models 8. Observe: Good docs! See attach: good_docs.txt 9. In pydoctest/geotest/models.py, comment out line 8. 10. In pydoctest/geotest/models.py, uncomment line 11, 23, 24. 11. pydoc pydoctest.geotest.models 12. Observe: Bad docs! See attach: bad_docs.txt Please give more information about the platform you are using. -- Ticket URL: <http://code.djangoproject.com/ticket/14183#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 django-upda...@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.