Im using django admindocs for documentation and the basic functionality works nicely (I can access the doc pages, models are listed an documented, help_text is included, etc.).
Unfortunately, reStructuredText markup in docstrings is completely ignored, e.g.
- Hyperlinks are not converted to hyperlinks
- Bullet Lists are no bullet lists
- Django markups such as :model:
appname.ModelName
are not resolved
I'm using the Development Trunk Version of Django (1.7)
Here is an example of a docstring I'm using:
class Adresse(models.Model):
u"""Postanschrift
Wird für
- Organisationen
- Personen
genutzt.
Siehe auch https://docs.djangoproject.com/en/dev/ref/contrib/contenttypes/#generic-relations
"""
object_id = models.PositiveIntegerField()
content_type = models.ForeignKey(ContentType)
of = generic.GenericForeignKey('content_type', 'object_id' )
...
When I paste the above docstring content into a rest editor (I used http://rst.ninjs.org/), everything works as expected.
The conversion works for docstrings documenting methods, e.g.
def my_method(self):
"""Docstring Heading
1. Listitem 1
2. Listitem 2
refers to :model:`personen.Person`
"""
pass
ist correctly converted.
I'm sure, I missed something very obvious, didn't I?