From v1.2, url templatetag can not use both comma and space

2010-02-23 Thread Hyungyong Kim
gt; OK {% url url_name arg1, arg2 %} --> TemplateSyntaxError: Malformed arguments to url tag Also this error is in django trunk, django/contrib/admin/templates/ registration/password_reset_email.html It need to be repaired. Thanks Hyungyong Kim -- You received this message because you are subs

Re: defaultdict is not working on "for" template tag iteration.

2008-11-07 Thread Hyungyong Kim
Thanks for kind expatiation. I can understand why the error occured easily. But, it seems that templates' "." has to resolve dir(default_dict) first before dictionary lookup. Anyway, I glad to know the reason. Thanks. Hyungyong Kim On 11월7일, 오후10시18분, "Karen Tracey"

defaultdict is not working on "for" template tag iteration.

2008-11-06 Thread Hyungyong Kim
Hi, Since a few hours ago, I've suffered following problem. I found this problem is due to collections.defaultdict. Normal dictionary is working collectly, but defaultdict is not working. >>> from django.template import Template, Context >>> t = Template("{% for k,v in data.items %}{{ k }}: {{