Changes between Version 5 and Version 6 of EggCookingTutorial/AdvancedEggCooking


Ignore:
Timestamp:
Sep 3, 2005, 12:40:30 AM (9 years ago)
Author:
gary@…
Comment:

Use get_templates_dirs()

Legend:

Unmodified
Added
Removed
Modified
  • EggCookingTutorial/AdvancedEggCooking

    v5 v6  
    6767#!python
    6868    # ITemplateProvider methods
    69     def get_templates_dir(self):
     69    def get_templates_dirs(self):
    7070        """
    7171        Return the absolute path of the directory containing the provided
     
    7373        """
    7474        from pkg_resources import resource_filename
    75         return resource_filename(__name__, 'templates')
     75        return [resource_filename(__name__, 'templates')]
    7676}}}
    7777