Changes between Version 13 and Version 14 of ShortcutSyntaxIdeas


Ignore:
Timestamp:
09/21/2005 02:42:04 PM (10 years ago)
Author:
brantley (deadwisdom@…
Comment:

Last update, I promise... Mostly.

Legend:

Unmodified
Added
Removed
Modified
  • ShortcutSyntaxIdeas

    v13 v14  
    111111                g = (g,)
    112112            for i in g:
    113                 if isinstance(i, HttpResponse):
     113                if isinstance(i, httpwrappers.HttpResponse):
    114114                    return i
    115115                if type(i) == type(()):
     
    117117                else:
    118118                    context_dict.update(i)
    119             template = context_dict.get("template", template)
    120             context = context_dict.get("context", context)
    121             return load_and_render(template, context_dict, context)
     119            template_name = context_dict.get("template", template)
     120            context_instance = context_dict.get("context", context)
     121            return load_and_render(template_name, context_dict, context_instance)
    122122           
    123123        return _innerWrapper
Back to Top