I've attached my patch with the ticket. After patching both of the
following work:
# return a string , as before
@register.simple_tag
def func(...):
...
return 'a string'
# return a dict, items of the dict will be set to context
@register.simple_tag
def func(...):
...
return {'key' : value, ... }
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-developers
-~----------~----~----~----~------~----~------~--~---