Thursday, November 19, 2009

URLs created by custom python-markup filter are incorrect

I'm using a custom python-markup filter, which seems to be working
well. However, my URLs aren't relative to my site. So if the rendered
text before filtering contains:

[/login Login]

and the login page is at:

http://localhost/test/login

the filter produces an URL of:

http://localhost/login

which is wrong. How do I get URLs from a filter like this that are
correct?

Thanks

--

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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate