I have written a simple template filter, which resolves a little bit
of special syntax we allow to use inside a text, for example:

     this is derived from item#123, and user#John has already contributed to it

we will convert "item#123" and "user#John" into links that point to
the given items and, that is the interesting part need to add some
data (dojo widget IDs) to the context, so that we can render them into
a JS array at the end of the page.

Using a filter doesnt work, since I dont have the context available, so
   {{ text|parse }}  cant not work :-(
I would have to create my own tag, to do this, especially to have
access to the context, right?
   {% parse text %} would work

Any better ideas?
thanks in advance
-- 
cu

Wolfram

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@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-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to