(
template_prefix, template_file_name, version)
| 9 | |
| 10 | |
| 11 | def compile_template_name( |
| 12 | template_prefix, template_file_name, version): |
| 13 | |
| 14 | # Template path concatenation should be same as |
| 15 | # Ref: ../pgadmin4/web/pgadmin/utils/versioned_template_loader.py +54 |
| 16 | # to avoid path mismatch in windows |
| 17 | return compile_template_path(template_prefix, version) + \ |
| 18 | '/' + template_file_name |
| 19 | |
| 20 | |
| 21 | def compile_template_path(template_prefix, version): |