Hi everyone,

I passed a complete URL as argument to an html template hoping Django
will take the URL as it is; that is, for example, if the code in my
html template is

    <a href="{{myURL | urlencode}}">Click this</a>

I want "Click this" to have hyperlink "myURL". However, the link
produced by the code above became
http://mySite/myURL instead of myURL. So if myURL is http://www.time.com,
the resulting link becomes http://mySite/http://time.com, which is
clearly not desirable.

Can anyone offer any suggestions?

Help much appreciated!
hugo

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

Reply via email to