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
2020-04-03 20:30:05 +05:30

8 lines
254 B
Python

def get_snippet_link_frontend_template(app_name, model_name):
return "%s/%s_snippet_link.html" % (app_name, model_name)
def get_snippet_embed_frontend_template(app_name, model_name):
return "%s/%s_snippet_embed.html" % (app_name, model_name)