mirror of
https://github.com/django/django.git
synced 2025-08-22 11:34:33 +00:00
Changed '%s' % value
pattern to str(value)
.
This commit is contained in:
parent
7668f9bce9
commit
8f10ceaa90
13 changed files with 36 additions and 35 deletions
|
@ -351,7 +351,7 @@ class ConsoleDirective(CodeBlock):
|
|||
if env.app.builder.name not in ('djangohtml', 'json'):
|
||||
return [lit_blk_obj]
|
||||
|
||||
lit_blk_obj['uid'] = '%s' % env.new_serialno('console')
|
||||
lit_blk_obj['uid'] = str(env.new_serialno('console'))
|
||||
# Only add the tabbed UI if there is actually a Windows-specific
|
||||
# version of the CLI example.
|
||||
win_content = code_block_to_win(self.content)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue