#7806: django.template refactoring
--------------------------------------+-------------------------------------
Reporter: emulbreh | Owner: nobody
Status: new | Milestone:
Component: Template system | Version: SVN
Resolution: | Keywords: tplrf
Stage: Unreviewed | Has_patch: 1
Needs_docs: 1 | Needs_tests: 1
Needs_better_patch: 1 |
--------------------------------------+-------------------------------------
Comment (by emulbreh):
* made decorators 2.3 compatible
* added a (clusily named) decorator for parser functions using
`TokenStream`: `token_stream_parsed`.
* moved some common syntax error handling to `TokenStream`.
* converted some remaining `compile_filter()` calls
Notes: `{% cycle %}` is still missing. The docstring/code ratio in
defaultags starts to get ugly. A `DebugTokenStream` should capture the
exact token positions for nicer error messages.
--
Ticket URL: <http://code.djangoproject.com/ticket/7806#comment:2>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" 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-updates?hl=en
-~----------~----~----~----~------~----~------~--~---