Django static files STATIC_ROOT vs STATICFILES_FINDERS
Hi,
I'm not sure if this is a bug or am I missing something but I've
created a very simple test environment and placed a single png file
within my static folder.
The file is being served fine when I set :
STATIC_ROOT = ''
STATICFILES_DIRS = (
'/Users/guynesher/Work/play/quicktest/testproj/static/',
)
however I'm geting a 404 error when I set it like this :
STATIC_ROOT = '/Users/guynesher/Work/play/quicktest/testproj/static/'
STATICFILES_DIRS = (
)
Based on the STATICFILES_DIRS comment (Additional locations of static
files) I expected I will only need to use it if I have multiple static
files directory which doesn't seem to be the case.
What am I missing here?
--
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.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home