Changes between Version 4 and Version 5 of EggCookingTutorial/AdvancedEggCooking


Ignore:
Timestamp:
Sep 2, 2005, 10:39:28 PM (19 years ago)
Author:
gary@…
Comment:

Update using get_templates_dirs()

Legend:

Unmodified
Added
Removed
Modified
  • EggCookingTutorial/AdvancedEggCooking

    v4 v5  
    105105               
    106106    # ITemplateProvider methods
    107     def get_templates_dir(self):
     107    def get_templates_dirs(self):
    108108        """
    109109        Return the absolute path of the directory containing the provided
     
    111111        """
    112112        from pkg_resources import resource_filename
    113         return resource_filename(__name__, 'templates')
     113        return [resource_filename(__name__, 'templates')]
    114114}}}
    115115
     
    143143[[TagIt()]]
    144144
     145