converting from legacy % to f-strings
This commit is contained in:
parent
9381d0ef0b
commit
884383c275
1 changed files with 2 additions and 2 deletions
|
@ -1,8 +1,8 @@
|
||||||
|
|
||||||
|
|
||||||
def get_snippet_link_frontend_template(app_name, model_name):
|
def get_snippet_link_frontend_template(app_name, model_name):
|
||||||
return "%s/%s_snippet_link.html" % (app_name, model_name)
|
return f"{app_name}/{model_name}_snippet_link.html"
|
||||||
|
|
||||||
|
|
||||||
def get_snippet_embed_frontend_template(app_name, model_name):
|
def get_snippet_embed_frontend_template(app_name, model_name):
|
||||||
return "%s/%s_snippet_embed.html" % (app_name, model_name)
|
return f"{app_name}/{model_name}_snippet_embed.html"
|
||||||
|
|
Reference in a new issue