Monday, April 23, 2012

Loading static files from a dev environment

I'm having an odd problem with my test Django environment.

It seems that static filles I've collected from different apps using
the collectstatic command works fine, while other static files I
placed in myself result in 404 error. This can happen from the same
directory (where a png that was collected will load, but a png i just
drop in will fail).

all files have the same permissions, and I can't figure out why this
would happen. I'm currently able to solve this by serving the files
through ngnix - but I really shouldn't need to do that.

Any ideas why this might be happening ?

Thanks

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment