Are you sure you read this?:
https://docs.djangoproject.com/en/1.3/ref/contrib/staticfiles/

>From my own experience, storing my static files in '/static/' never
works so I always create a separate folder for my static files and add
the path to STATICFILES_DIRS in my settings.

On 1/1/12, Chirdeep <chirdeep.to...@gmail.com> wrote:
> Now I have changed the project structure to
>
> Project
> -webApp
> ---static
> -----images
> -----stylesheets
> -----index.html
> ---templates
>
> I can browse to index.html inside static folder.
>
> http://127.0.0.1:8000/static/index.html
>
> For some reason, its adding the search-form to the URL for loading CSS
> and Images when I browse to http://127.0.0.1:8000/search-form/
>
> Firebug shows :
> http://127.0.0.1:8000/search-form/common.css
>
> Obviously then it won't find the resources.
>
>
> --
> 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.
>
>

-- 
Sent from my mobile device

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