I think you're over-estimating Django a little when it comes to
serving media - check out 
http://www.djangoproject.com/documentation/static_files/
for details, it requires a little more work.

On Mar 5, 6:19 pm, "Monica Leko" <[EMAIL PROTECTED]> wrote:
> In settings.py I have:
> MEDIA_ROOT = 'C:/Documents and
> Settings/Monica/Desktop/aab/projekt/templates/media/'
>
> Media folder is in 'templates', and 'images' folder is in 'media'.
> angry.gif is in 'images'.  Following page, when requested, doesn't
> show the image, only text "No image"?!  I don't understand.
>
> <html>
> <body>
>
> <img src="./images/angry.gif" alt="Angry">
> No image
>
> </body>
> </html>
--~--~---------~--~----~------------~-------~--~----~
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