mirror of
https://github.com/django/django.git
synced 2025-08-21 01:09:13 +00:00
Fixed writer_name deprecation warning in docutils 0.22+.
This commit is contained in:
parent
d55979334d
commit
65ab92f6a8
@ -82,7 +82,7 @@ def parse_rst(text, default_reference_context, thing_being_parsed=None):
|
|||||||
source % text,
|
source % text,
|
||||||
source_path=thing_being_parsed,
|
source_path=thing_being_parsed,
|
||||||
destination_path=None,
|
destination_path=None,
|
||||||
writer_name="html",
|
writer="html",
|
||||||
settings_overrides=overrides,
|
settings_overrides=overrides,
|
||||||
)
|
)
|
||||||
return mark_safe(parts["fragment"])
|
return mark_safe(parts["fragment"])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user