1
Fork 0
This repository has been archived on 2024-07-16. You can view files and clone it, but cannot push or open issues or pull requests.
wagtail-draftail-snippet/wagtail_draftail_snippet/utils.py

9 lines
242 B
Python
Raw Normal View History

2020-01-08 04:41:21 +00:00
def get_snippet_link_frontend_template(app_name, model_name):
2022-11-07 17:16:01 +00:00
return f"{app_name}/{model_name}_snippet_link.html"
2020-03-31 17:34:05 +01:00
def get_snippet_embed_frontend_template(app_name, model_name):
2022-11-07 17:16:01 +00:00
return f"{app_name}/{model_name}_snippet_embed.html"