import_library
Load a Library object from a template tag module.
def import_library(
name: string
) - > Library
Load a Library object from a template tag module.
Parameters
| Name | Type | Description |
|---|---|---|
| name | string | The full python path of the module to be imported as a template library |
Returns
| Type | Description |
|---|---|
Library | The 'register' variable from the imported module, typically a template Library instance used to register tags and filters |