Created
April 24, 2020 10:33
-
-
Save ilikerobots/b0fac1ba4ec06bb4eab71c8eb7afdee5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from typing import Dict | |
| from django import template | |
| register = template.Library() | |
| @register.inclusion_tag('lazy_render_bundle.html', takes_context=False) | |
| def lazy_render_bundle(bundle: Dict[str, str]) -> Dict[str, Dict[str, str]]: | |
| return {'bundle': bundle} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment