On 26 sep, 06:40, Karish <[EMAIL PROTECTED]> wrote:
> I am using {{ MEDIA_URL }} in my templates for images, CSS and JS. For
> example, {{ MEDIA_URL }}img/abc.gif
>
> I want to do something similar when I need absolute URLs, and I was
> wondering what approaches exist.
I am using {{ MEDIA_URL }} in my templates for images, CSS and JS. For
example, {{ MEDIA_URL }}img/abc.gif
I want to do something similar when I need absolute URLs, and I was
wondering what approaches exist. For example, I could define SITE_URL
= 'http://www.domain.com/' in settings.py, and then
2 matches
Mail list logo