After further investigation this error message seems to be caused by
the line 27 of this file "/usr/lib/python2.6/django/contrib/gis/db/
models/proxy.py"
Changing it from :
geom_value = obj.__dict__[self._field.attname]
to :
try:
geom_value = obj.__dict__[self._field.attname]
except:
geom_value = None
Is hiding/removing this issue however I am not sure that this is not
just hiding the issue or breaking some other use cases.
Regards,
--ym
On Jun 22, 7:39 pm, yml <[email protected]> wrote:
> Hello,
>
> I am trying to generate the API documentation of django-geotagging
> [1]. django-geotagging is a django application. I would like to add to
> the existing documentation rst files some "automatically" generated .
> In order to do this I have added a file called : api.rst which look
> like this :http://dpaste.com/58306/
>
> when I run the this command:
> * sphinx-build -a -b html . _build
>
> I get this error message :http://dpaste.com/58303/
> It does not make any sense too me so I would like to know if someone
> could help me to get started with autodoc on a django app.
>
> Regards,
> Yann
>
> [1]https://code.launchpad.net/~yml/django-geotagging/geotags/+merges
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sphinx-dev" 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/sphinx-dev?hl=en
-~----------~----~----~----~------~----~------~--~---