Hi there, I'm just wondering what the best way of retrieving the MEDIA_URL for an object is.
Let's say I'm writing a blog post with some images. Instead of writing <img src="http://media.mydomain.com/image.gif">, I'd write <img src="_MEDIA_URL_/image.gif"> or something equivalent. So if I change my domain, I wouldn't have to rewrite a ton of blog posts to change the domain. ---------- Have anyone tried this? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---