I have a problem with flatpages. When putting links in my templates, I use absolute URLs without prepending http://hostname.com/
For example, <a href="/">Home</a> gets interpreted by the browser as a link to http://hostname.com/, and all is correct. However, when a flatpage is being served, those links get interpreted literally, so the link now is http:/// which is of course useless. I suspect this is something to do with the 404 response that triggers something in firefox. So what am I supposed to do ? Should I prepend everything with the hostname ? How can I get the current site (so I won't couple the template to the site) ? Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---

