1
Fork 0

converting from legacy % to f-strings

This commit is contained in:
Nick Travis 2022-11-07 12:16:01 -05:00 committed by Adam Hill
parent 9381d0ef0b
commit 884383c275

View file

@ -1,8 +1,8 @@
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):
return "%s/%s_snippet_embed.html" % (app_name, model_name)
return f"{app_name}/{model_name}_snippet_embed.html"