Am 25.11.2008 um 19:45 schrieb Steve Holden:

>
> Jacob Kaplan-Moss wrote:
>> On Tue, Nov 25, 2008 at 10:11 AM, Johannes Dollinger
>> [...]
>>> * I always felt the API for custom tags is too verbose.
>>>
>>
>> There's almost universal agreement on this point :)
>>
>> It's unfortunately pretty tricky to do in a backwards-compatible way:
>> we've sorta pasted ourselves into a corner here by letting tags do
>> anything they want in terms of parsing. This lead to an inconsistency
>> in syntax that we (unfortunately) have to continue to support.
>>
>> However, that's no reason not to have a better API on top that
>> third-party tags can use -- as long as internal tags don't break.
>>
> Heretical suggestion: {: :}, {! !}, {$ $} or {[ ]} with a different
> processor (falling back to the original if necessary), and therefore  
> no
> need for a fully backwards-compatible approach?

That hopefully won't be necessary. However, the possibility to  
configure those token boundaries at runtime might be a nice feature. I  
missed it for LaTeX templates.


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to