django.template.defaulttags, django.template.loader_tags,  
django.templatetags.i18n, django.templatetags.cache,  
django.contrib.comments are now converted.
All tests pass. Mostly unmodified:

-            # Basic filter usage with space between a variable and  
filter pipe
-            'filter-syntax03': ("{{ var |upper }}", {"var": "Django  
is the greatest!"}, "DJANGO IS THE GREATEST!"),
+            # Raise TemplateSyntaxError for space between a variable  
and filter pipe
+            'filter-syntax03': ("{{ var |upper }}", {},  
template.TemplateSyntaxError),

-            # Basic filter usage with space after a filter pipe
-            'filter-syntax04': ("{{ var| upper }}", {"var": "Django  
is the greatest!"}, "DJANGO IS THE GREATEST!"),
+            # Raise TemplateSyntaxError for space after a filter pipe
+            'filter-syntax04': ("{{ var| upper }}", {},  
template.TemplateSyntaxError),

Fixed tickets (incomplete list):
#4746: Allow whitespace before and after filter separator
#5862: Filters are not applied in an include tag [closed: wontfix]
#6271: filter arguments with spaces break several template tags
#6510: get_nodes_by_type refactor for easier extensibility (fixes an  
underlying bug for IfEqualNode)
#6535: parser.compile_filter() does not support negative numbers
#7377: "extends" and "block" tags are not available when constructing  
template from scratch
#9757: Make IfNode a baseclass for other if nodes to subclass

> * {% if not %} would fail with my current implementation. This is
> fixable. But I'm not sure it's worth it: not/and/or should be keywords
> in the context of boolean expressions.


I hacked around this issue (the test now passes), but it's not exactly  
beautiful.
The same is true for the ifequal-numeric07 bug: numeric literals with  
a trailing dot will now be resolved as None.

If there is interest, I could clean up those commits once more. This  
was my first exposure to git - and there is some sloppiness related  
ugliness:
http://github.com/emulbreh/django/commits/master

Johannes


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to