summaryrefslogtreecommitdiff
path: root/django/utils/_os.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #9579 -- Properly handle apps running with (and specifically, loading ↵Karen Tracey2008-11-131-3/+23
| | | | | | templates from) a current working directory path that contains non-ASCII characters. Thanks for the report to gonzalodelgado and for advice on how to fix it to Daniel Pope. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9411 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Added some better error reporting and path handling when creating template ↵Malcolm Tredinnick2008-10-061-0/+3
| | | | | | | | | | | | | paths. We now raise UnicodeDecodeError for non-UTF-8 bytestrings (thanks to Daniel Pope for diagnosing this was being swallowed by ValueError) and allow UTF-8 bytestrings as template directories. Refs #8965. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9161 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #5111 -- Set svn:eol-style to 'native' on files that didn't have itMalcolm Tredinnick2007-08-121-23/+23
| | | | | | | already. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5876 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Changed safe_join() docstring from [5750] to use active verbs. See also [5756]Adrian Holovaty2007-07-251-2/+2
| | | | git-svn-id: http://code.djangoproject.com/svn/django/trunk@5758 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #4952 -- Fixed the `get_template_sources` functions of the ↵Gary Wilson Jr2007-07-231-0/+23
`app_directories` and `filesystem` template loaders to not return paths outside of given template directories. Both functions now make use of a new `safe_join` utility function. Thanks to SmileyChris for help with the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5750 bcc190cf-cafb-0310-a4f2-bffc1f526a37