Commit f5505425 by James Cammarata

Adding 'expanduser' filter to the core filters list

Example usage: {{ my_path | expanduser }} # my_path: "~/path/to/file"
parent aafd08ba
......@@ -164,6 +164,7 @@ class FilterModule(object):
# path
'basename': os.path.basename,
'dirname': os.path.dirname,
'expanduser': os.path.expanduser,
'realpath': os.path.realpath,
# failure testing
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment