Change docs to use f-strings

This commit is contained in:
erfanio 2019-10-26 17:19:00 +11:00
parent 8f422d2b5e
commit 07caa44224
7 changed files with 13 additions and 13 deletions

View file

@ -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
------------