mirror of
https://github.com/django/django.git
synced 2025-11-19 11:15:44 +00:00
Fixed writer_name deprecation warning in docutils 0.22+.
This commit is contained in:
parent
d55979334d
commit
65ab92f6a8
1 changed files with 1 additions and 1 deletions
|
|
@ -82,7 +82,7 @@ def parse_rst(text, default_reference_context, thing_being_parsed=None):
|
|||
source % text,
|
||||
source_path=thing_being_parsed,
|
||||
destination_path=None,
|
||||
writer_name="html",
|
||||
writer="html",
|
||||
settings_overrides=overrides,
|
||||
)
|
||||
return mark_safe(parts["fragment"])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue