*plz Check django official docs to find out how static files are served on
production and development server.*
*
*
*in the dev server include a similiar snippet into your projects
urls.py, urlpatterns:*
*
*
*(r'^site_media/(?P<path>.*)$',
'django.views.static.serve',{'document_root':
'D:/djangoprojects/praveensprofile/templates/static'}),*
*
*
***and in the templates something similar to the below text.*
*<link href="/site_media/default.css" rel="stylesheet" type="text/css" />
*
*
*
*
*
On Tue, Feb 15, 2011 at 1:07 PM, Szabo, Patrick (LNG-VIE) <
[email protected]> wrote:

> How do i check the logs !?
> I'm using the integrated webserver.
>
> Kind regards
>
>
> . . . . . . . . . . . . . . . . . . . . . . . . . .
> Patrick Szabo
>  XSLT-Entwickler
> LexisNexis
> Marxergasse 25, 1030 Wien
>
> mailto:[email protected]
> Tel.: +43 (1) 534 52 - 1573
> Fax: +43 (1) 534 52 - 146
>
>
> -----Ursprüngliche Nachricht-----
>
> Von: [email protected] [mailto:[email protected]]
> Im Auftrag von Kenneth Gonsalves
> Gesendet: Dienstag, 15. Februar 2011 11:05
> An: [email protected]
> Betreff: Re: images
>
> On Tue, 2011-02-15 at 11:00 +0100, Szabo, Patrick (LNG-VIE) wrote:
> > Unfortunately i only get the "alt text" shown and not the image.
> > The image is in the same directory as the template.
>
> check your logs to see where it is searching for your image
> --
> regards
> KG
> http://lawgon.livejournal.com
> Coimbatore LUG rox
> http://ilugcbe.techstud.org/
>
> --
> 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.
>
>
>
> --
> 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.
>
>


-- 
Thanks and Regards,
*Praveen Krishna R*

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

Reply via email to