mirror of
https://github.com/django/django.git
synced 2025-08-25 11:19:12 +00:00
[5.2.x] Fixed writer_name deprecation warning in docutils 0.22+.
Backport of 65ab92f6a83644bbb555d0eff3a02d8d9301aba4 from main.
This commit is contained in:
parent
3031c512f0
commit
5aefd005fc
@ -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…
x
Reference in New Issue
Block a user