Changes between Version 5 and Version 6 of EggCookingTutorial/AdvancedEggCooking


Ignore:
Timestamp:
Sep 2, 2005, 10:40:30 PM (19 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