1. if you save the white.png in the directory "/tmp/", and you set
STATIC_DIR=("/tmp/",)
2. get http://localhost:8000/static/white.png
good luck!


2012/12/26 syed tariq <syedita...@gmail.com>

> I am not getting static files served. I get messages:
> GET http://localhost:8000/white.png 404 (Not Found)
>
> (1) which directory should I place white.png?
> (2) Do I need to set the STATIC_DIR parameter in settings.py?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/django-users/-/O7kdjHfP_JUJ.
> To post to this group, send email to django-users@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-users@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.

Reply via email to