-
Salem Harrache authored
e.g: >>> op.normpath(directory).startswith(base_path) False >>> op.normpath(directory) u'/home/projects/mywebsite/static/utils' >>> base_path u'/home/projects/mywebsite/admin/../static' >>> base_path = op.normpath(base_path) >>> op.normpath(directory).startswith(base_path) True
8b6b380b
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| contrib | ||
| model | ||
| static | ||
| templates/admin | ||
| tests | ||
| translations | ||
| __init__.py | ||
| babel.py | ||
| base.py | ||
| form.py | ||
| tools.py |