Hello,

i really like the documentation intergration in Django's admin interface. I'm 
wondering how to document parameters though. I've tried using ReST for my 
classes and functions as described below, but :Parameters: doesn't seem to be 
recognized.

http://epydoc.sourceforge.net/fields.html
5.1. ReStructuredText Fields:

def fox_speed(size, weight, age):
    """
    Return the maximum speed for a fox.

    :Parameters:
      `size`
          The size of the fox (in meters)
      `weight` : float
          The weight of the fox (in stones)
      `age` : int
          The age of the fox (in years)
    """

Best Regards,
Dirk Eschler

-- 
Dirk Eschler <mailto:[EMAIL PROTECTED]>
http://www.krusader.org

--~--~---------~--~----~------------~-------~--~----~
 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