Documentation helpers in the admindocs (django 1.4)

37 views
Skip to first unread message

craig

unread,
Sep 10, 2012, 4:57:49 PM9/10/12
to django...@googlegroups.com
It could be I'm doing something wrong, but I have the admin documentation working, and read about the helpers ( :model:`app.model`, :view:, etc) but when I use them the docs render the actual text and not the link:

class Calendar(models.Model):
    """
    Contains a collection of :model:`events.Event` objects.
    
    Events are mapped to calendars through the :model:`ScheduledEvent`
    model.
    """

Renders to the admin docs site as

Contains a collection of :model:`events.Event` objects. 

Events are mapped to calendars through the :model:`ScheduledEvent`
model. 

I have admin and admindocs apps installed, my tests all pass, so I'm not sure whether I'm missing something or not.
Message has been deleted

Craig Bateman

unread,
Oct 25, 2012, 4:58:12 PM10/25/12
to django...@googlegroups.com

I think this is a bug in 1.4 that is probably addressed in the dev version. The model docstring is not run through the markdown to HTML routine in the django version I'm using. Was simple enough to patch locally.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/OUFxqu5lQaoJ.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Reply all
Reply to author
Forward
0 new messages