Re: url (reverse) as a filter

2008-07-15 Thread Julien Phalip
I guess you would have to preprocess the text with the template system, reversing all the URLs, and then pass it to markdown processing. So, you'd have: ({% url mylink %} "Check this link") On Jul 16, 3:11 am, gzy <[EMAIL PROTECTED]> wrote: > Hi, > > I like the idea of seperating the.. "address

url (reverse) as a filter

2008-07-15 Thread gzy
Hi, I like the idea of seperating the.. "address space" of a website from the templates. On the other hand I'm keeping most of the content in the db and displaying through the markup filter. So I'm looking for a way to feed the url_bit in markdown's [link] (url_bit "Title") to Django's {% url %}