On 10/11/07, James Bennett <[EMAIL PROTECTED]> wrote:
>
> On 10/11/07, Rufman <[EMAIL PROTECTED]> wrote:
> > Django uses docutils and restructured text for the documentation of
> > the admin. How can i get my own documentation of my views and models
> > (restructured text) to show on the documentation page in the django
> > admin (dashboard -> documentation)?
>
> It's generated from the docstrings, so if you're following good Python
> practice of writing docstrings in your code you'll see them show up in
> the admin as documentation.

...Except that attributes are lost when functions are decorated.  :)

What a handy example for the patch here:
http://code.djangoproject.com/ticket/5701

:)

N.B. There is some doubt that the included patch will be included in
Django due to provenance issues with the copied functools code.  There
is a current thread on django-dev regarding this.

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to