Edgewall Software

Changes between Version 4 and Version 5 of GenshiRecipes/WerkzeugWithGenshi

Show
Ignore:
Timestamp:
07/24/08 22:36:47 (6 years ago)
Author:
jruigrok
Comment:

Make data a default variable in order to cut back on the argument list. Also allows one to add data.update() calls in TemplatedResponse?.

Legend:

Unmodified
Added
Removed
Modified
  • GenshiRecipes/WerkzeugWithGenshi

    v4 v5  
    2626    loader = None 
    2727 
    28     def __init__(self, template, data): 
     28    def __init__(self, template, data={}): 
    2929        if TemplatedResponse.loader is None: 
    3030            TemplatedResponse.loader = TemplateLoader(TEMPLATES_DIR, auto_reload=True)