mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Adapted uses of versionchanged/versionadded to the new form.
Refs #20104.
This commit is contained in:
committed by
Claude Paroz
parent
1ddeeb5b8e
commit
78c842a323
@@ -66,7 +66,7 @@ class VersionDirective(Directive):
|
||||
msg = """Only one argument accepted for directive '{directive_name}::'.
|
||||
Comments should be provided as content,
|
||||
not as an extra argument.""".format(directive_name=self.name)
|
||||
raise ValueError(msg)
|
||||
raise self.error(msg)
|
||||
|
||||
env = self.state.document.settings.env
|
||||
ret = []
|
||||
|
||||
Reference in New Issue
Block a user