#30255: docutils reports an error rendering view docstring when the first line
is
not empty
-------------------------------------+-------------------------------------
Reporter: Manlio Perillo | Owner: Baptiste
| Mispelon
Type: Bug | Status: closed
Component: contrib.admindocs | Version: master
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak <felisiak.mariusz@…>):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"f47ba7e78033f39742c3bf491e9b15365cefd0db" f47ba7e]:
{{{
#!CommitTicketReference repository=""
revision="f47ba7e78033f39742c3bf491e9b15365cefd0db"
Fixed #30255 -- Fixed admindocs errors when rendering docstrings without
leading newlines.
Used inspect.cleandoc() which implements PEP-257 instead of an internal
hook.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/30255#comment:10>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/065.77e45253e85d1aca79f794a05a58d8bf%40djangoproject.com.