Change docs to use f-strings
This commit is contained in:
parent
8f422d2b5e
commit
07caa44224
7 changed files with 13 additions and 13 deletions
|
|
@ -179,7 +179,7 @@ With Blinker 1.1 you can also easily subscribe to signals by using the new
|
|||
|
||||
@template_rendered.connect_via(app)
|
||||
def when_template_rendered(sender, template, context, **extra):
|
||||
print 'Template %s is rendered with %s' % (template.name, context)
|
||||
print f'Template {template.name} is rendered with {context}'
|
||||
|
||||
Core Signals
|
||||
------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue