On 12.07.2011 11:23, Jonas Geiregat wrote:
> Hello,
> 
> I really love django's documentation. It covers a lot of ground and is really 
> well written. 
> I do have one problem with it. It might be best explained with an example.
> 
> I want to see all methods and properties of the request parameter in the 
> view. Search the docs for "request" doesn't help me much. In fact searching 
> the docs for a particular method often doesn't point me to the correct page.
> 
> What I sometimes need is a tree view of all django's modules, classes, 
> methods and properties. It also might help me better understand the structure 
> of how django was written.
> 
> Is there something like that out there ?

Hi,

sometimes I use this, to get all attributes of an object:
assert False, dir(object_to_debug)

and if you really want to know what's going on, you can read the source. In
your example django/http/__init__.py has the Request class. You are
free to add logging.info() or assert to the django code.

There was a ticket about automatically created API reference:

  https://code.djangoproject.com/ticket/1248

In my company some developer started to create api documentation with epydoc 
for django. AFAIK they
never used it much, I guess it took more time to configure epydoc, than time was
spent to read the created stuff.

  Thomas


-- 
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to