Django

Code

Changeset 7565

Show
Ignore:
Timestamp:
05/29/08 08:11:23 (3 months ago)
Author:
russellm
Message:

Fixed #6430 -- Corrected the loading of templates from eggs, which was broken by the unicode merge. Thanks for the excellent report and patch, Juan Manuel Caicedo <juan.manuel.caicedo@gmail.com>.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/AUTHORS

    r7564 r7565  
    7979    btoll@bestweb.net 
    8080    Jonathan Buchanan <jonathan.buchanan@gmail.com> 
    81     Can Burak Çilingir <canburak@cs.bilgi.edu.tr
     81    Juan Manuel Caicedo <juan.manuel.caicedo@gmail.com
    8282    Trevor Caira <trevor@caira.com> 
    8383    Ricardo Javier Cárdenes Medina <ricardo.cardenes@gmail.com> 
     
    9393    Bryan Chow <bryan at verdjn dot com> 
    9494    Michal Chruszcz <troll@pld-linux.org> 
     95    Can Burak Çilingir <canburak@cs.bilgi.edu.tr> 
    9596    Ian Clelland <clelland@gmail.com> 
    9697    Russell Cloran <russell@rucus.net> 
  • django/trunk/django/template/loaders/eggs.py

    r5609 r7565  
    1919        for app in settings.INSTALLED_APPS: 
    2020            try: 
    21                 return (resource_string(app, pkg_name), 'egg:%s:%s ' % (app, pkg_name)).decode(settings.FILE_CHARSET
     21                return (resource_string(app, pkg_name).decode(settings.FILE_CHARSET), 'egg:%s:%s' % (app, pkg_name)
    2222            except: 
    2323                pass 
  • django/trunk/tests/regressiontests/templates/tests.py

    r7060 r7565  
    2020from unicode import unicode_tests 
    2121from context import context_tests 
     22 
     23from loaders import * 
     24 
    2225import filters 
    2326 
    2427# Some other tests we would like to run 
    2528__test__ = { 
    26         'unicode': unicode_tests, 
    27         'context': context_tests, 
     29    'unicode': unicode_tests, 
     30    'context': context_tests 
    2831} 
    2932