On 12/13/06, Tipan <[EMAIL PROTECTED]> wrote:
>
> However, I can't seem to get an simple image to display through a
> Django template.
>
> I've tried all sorts of combinations and can't seem to make any
> headway.
>
> Any advice welcome. Details of my settings etc. below.
>
> Template call is simply:
>
> <img src="/gobites.jpg">

Looking at your settings shouldn't that be:

<img src="http://192.168.1.9:3000/gobites.jpg";>

Generally speaking I believe the conventional way to do this when both
servers are on one machine is to point all traffic to the static
server (port 80) which then proxies any non-static requests on to the
server running Django (on some random port). That would avoid the
above problem.



-- 
----
Waylan Limberg
[EMAIL PROTECTED]

--~--~---------~--~----~------------~-------~--~----~
 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to