On Mon, Jul 14, 2008 at 6:06 AM, rui <[EMAIL PROTECTED]> wrote:
> Hi Eric,
>
> There is a bit about it in this excerpt:
>
> """
> MEDIA_ROOT
>
> Default: '' (Empty string)
>
> Absolute path to the directory that holds media for this installation.
> Example: "/home/media/media.lawrence.com/" See al
Hi Eric,
There is a bit about it in this excerpt:
"""
MEDIA_ROOT
Default: '' (Empty string)
Absolute path to the directory that holds media for this installation.
Example: "/home/media/media.lawrence.com/" See also MEDIA_URL.
MEDIA_URL
Default: '' (Empty string)
URL that handles the media ser
Hi all.
Thank you all very much.
Now I know what's wrong with me.here is the finally result of mine.
In the file url.py,just add following code:
(r'^site_media/(?P.*)$', 'django.views.static.serve',
{'document_root': 'D:/test/mysite2/mysite_media'}),
and don't need change the seting in the se
On Fri, Jul 11, 2008 at 4:37 AM, Eric Liu <[EMAIL PROTECTED]> wrote:
> When I create a app and try to show a image in the the html ,I ran
> into trouble that is the images can't be shown in the page.following
> is my page code:
>
> [...]
>
> [...]
In HTML, the end tag of the img element must be
On 11-Jul-08, at 3:07 PM, Eric Liu wrote:
>
http://lawgon.livejournal.com
http://nrcfosshelpline.in/code/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email
/.
Hope this helps,
Em
_
From: django-users@googlegroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of Eric Liu
Sent: 11 July 2008 10:37
To: django-users@googlegroups.com
Subject: How to display the images in the template page under the django
development server
Hi all
I have a lot
Hi all
I have a lot of green in Django.When I create a app and try to show a
image in the the html ,I ran into trouble
that is the images can't be shown in the page.following is my page code:
{%block title%}{%endblock%}
My helpful timestamp site:
{%block content%}{%endblock%}
{% block foo
7 matches
Mail list logo