Getting reStructuredText to work in admindocs
Hi all!
I'm having a really tough time getting reStructuredText to work in the
admindocs application. I've installed docutils with pip, but
everything I see in my model details documentation under admin/docs/
is rendered as the original text, not converted to links and HTML
formatting. So, when I write the following in models.py:
class Article(models.Model):
"""
This ``Article`` is related to :model:`iprotocms.category`
"""
It shows up literally as:
This ``Article`` is related to :model:`iprotocms.category`
Any idea why this would be? Is there some odd middleware or context
processor that I've missed?
-Mike
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home