Re: Problem with static files (MEDIA_URL and MEDIA_ROOT)

2010-06-28 Thread nadae ivar badio
Hi do you speack french?

2010/6/27 Denis Ricardo 

> Hello people! I am having any problems with static files (images, CSS)
> in Django. I configured the MEDIA_URL and MEDIA_ROOT in settings.py
> and when I execute the server and I go see the webpage, the static
> files doesn't are encountered (the page stay without anything).
>
> Screen Shot of my page: http://yfrog.com/jq35546894
>
> I am using the Django 1.1, on Ubuntu 10.04. The following are the
> server logs:
>
> http://dpaste.com/211961/
>
> This files exists! They are in this directory, but doesn't are
> encountered by the Django.
> The directory of my project follows below:
>
> http://dpaste.com/211962/
>
> And these are the files of project:
>
> settings.py: http://dpaste.com/211967/
>
> urls.py: http://dpaste.com/211964/
>
> views.py: http://dpaste.com/211969/
>
> base.html: http://dpaste.com/211971/ # This is the page of the Screen
> Shot
>
> Anybody can help me?
>
> (Sorry by my bad english.)
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com
> .
> 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 django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Problem with static files (MEDIA_URL and MEDIA_ROOT)

2010-06-27 Thread Graham Dumpleton


On Jun 27, 10:53 pm, Denis Ricardo  wrote:
> Hello people! I am having any problems with static files (images, CSS)
> in Django. I configured the MEDIA_URL and MEDIA_ROOT in settings.py
> and when I execute the server and I go see the webpage, the static
> files doesn't are encountered (the page stay without anything).
>
> Screen Shot of my page:http://yfrog.com/jq35546894
>
> I am using the Django 1.1, on Ubuntu 10.04. The following are the
> server logs:
>
> http://dpaste.com/211961/

The logs show:

  GET /home/denis/Aptana%20Studio%20Workspace/SMSPI/SMSPI/media/
estilo.css

This indicates you have specified a file system path in settings file
where a URL is expected.

In particular MEDIA_URL is set wrong.

Graham

> This files exists! They are in this directory, but doesn't are
> encountered by the Django.
> The directory of my project follows below:
>
> http://dpaste.com/211962/
>
> And these are the files of project:
>
> settings.py:http://dpaste.com/211967/
>
> urls.py:http://dpaste.com/211964/
>
> views.py:http://dpaste.com/211969/
>
> base.html:http://dpaste.com/211971/# This is the page of the Screen
> Shot
>
> Anybody can help me?
>
> (Sorry by my bad english.)

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Problem with static files (MEDIA_URL and MEDIA_ROOT)

2010-06-27 Thread Denis Ricardo
Hello people! I am having any problems with static files (images, CSS)
in Django. I configured the MEDIA_URL and MEDIA_ROOT in settings.py
and when I execute the server and I go see the webpage, the static
files doesn't are encountered (the page stay without anything).

Screen Shot of my page: http://yfrog.com/jq35546894

I am using the Django 1.1, on Ubuntu 10.04. The following are the
server logs:

http://dpaste.com/211961/

This files exists! They are in this directory, but doesn't are
encountered by the Django.
The directory of my project follows below:

http://dpaste.com/211962/

And these are the files of project:

settings.py: http://dpaste.com/211967/

urls.py: http://dpaste.com/211964/

views.py: http://dpaste.com/211969/

base.html: http://dpaste.com/211971/ # This is the page of the Screen
Shot

Anybody can help me?

(Sorry by my bad english.)

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.