Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/django/template/loaders
Commit message (Collapse)AuthorAgeFilesLines
...
* Removed a bunch more Python 2.4 workarounds now that we ↵Adrian Holovaty2011-03-281-2/+2
| | | | | | don't support that version. Refs #15702 -- thanks to jonash for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15927 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #12248 -- Refactored django.template to get code ↵Russell Keith-Magee2010-11-274-4/+4
| | | | | | out of __init__.py, to help with avoiding circular import dependencies. Thanks to Tom Tobin for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14722 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #14436 -- Escalated 1.2 PendingDeprecationWarnings ↵Russell Keith-Magee2010-10-113-3/+3
| | | | | | to DeprecationWarnings, and removed 1.1 deprecated code. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14138 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Refs #13573 -- Modified the key technique added in ↵Russell Keith-Magee2010-05-211-3/+6
| | | | | | r13295 to be more robust against potential key collisions while keeping key names human-readable. Thanks to Alex for being finicky. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13299 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #13573 -- Corrected problem with template caching ↵Russell Keith-Magee2010-05-211-6/+9
| | | | | | when template directories are provided. Thanks to lamby for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13295 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #12787: Correctly identify the template that does ↵Karen Tracey2010-03-161-1/+8
| | | | | | not exist when a template being extended includes another template that does not exist. Thanks to trigeek38 for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12792 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #12992: Adjusted the new template loader code so ↵Karen Tracey2010-03-021-2/+2
| | | | | | | | | | that the template file name is correctly reported on the debug page when a template syntax error is raised. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12643 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Changed a whole bunch of places to raise exception ↵Adrian Holovaty2010-01-104-5/+5
| | | | | | instances instead of old-style raising exception classes plus a comma. Good for the future Python 3 conversion git-svn-id: http://code.djangoproject.com/svn/django/trunk@12180 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #6262 -- Added a cached template loader, and ↵Russell Keith-Magee2009-12-144-66/+165
| | | | | | modified existing template loaders and tag to be cacheable. Thanks to Mike Malone for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11862 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #10053: the most exciting commit you'll ever see.Jacob Kaplan-Moss2009-04-021-1/+1
| | | | git-svn-id: http://code.djangoproject.com/svn/django/trunk@10358 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #8193: all dynamic imports in Django are now done ↵Jacob Kaplan-Moss2009-03-181-9/+2
| | | | | | correctly. I know this because Brett Cannon borrowed the time machine and brought Python 2.7's '`importlib` back for inclusion in Django. Thanks for the patch-from-the-future, Brett! git-svn-id: http://code.djangoproject.com/svn/django/trunk@10088 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #9579 -- Properly handle apps running with (and ↵Karen Tracey2008-11-131-1/+3
| | | | | | specifically, loading 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 ↵Malcolm Tredinnick2008-10-062-1/+19
| | | | | | | | | | | | | creating template 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 #6430 -- Corrected the loading of templates from ↵Russell Keith-Magee2008-05-291-1/+1
| | | | | | eggs, which was broken by the unicode merge. Thanks for the excellent report and patch, Juan Manuel Caicedo <juan.manuel.caicedo@gmail.com>. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7565 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #4952 -- Fixed the `get_template_sources` ↵Gary Wilson Jr2007-07-232-7/+24
| | | | | | functions of the `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
* Merged Unicode branch into trunk (r4952:5608). This ↵Malcolm Tredinnick2007-07-043-3/+3
| | | | | | | | | | | should be fully backwards compatible for all practical purposes. Fixed #2391, #2489, #2996, #3322, #3344, #3370, #3406, #3432, #3454, #3492, #3582, #3690, #3878, #3891, #3937, #4039, #4141, #4227, #4286, #4291, #4300, #4452, #4702 git-svn-id: http://code.djangoproject.com/svn/django/trunk@5609 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #2968 -- Changed arguments to __import__ to use ↵Adrian Holovaty2006-10-301-2/+2
| | | | | | empty dictionary instead of empty string, for stricter compliance with Python library reference. Thanks for the patch, Yasushi Masuda git-svn-id: http://code.djangoproject.com/svn/django/trunk@3951 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed incorrect error message in ↵Adrian Holovaty2006-08-131-1/+1
| | | | | | django.template.loaders.filesystem if you pass in template_dirs=None. Thanks, Martin Glueck git-svn-id: http://code.djangoproject.com/svn/django/trunk@3575 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* MERGED MAGIC-REMOVAL BRANCH TO TRUNK. This change is ↵Adrian Holovaty2006-05-024-0/+91
highly backwards-incompatible. Please read http://code.djangoproject.com/wiki/RemovingTheMagic for upgrade instructions. git-svn-id: http://code.djangoproject.com/svn/django/trunk@2809 bcc190cf-cafb-0310-a4f2-bffc1f526a37