HI, You don't need STATIC_ROOT while using your dev server. If you have a look https://docs.djangoproject.com/en/1.3/howto/static-files/#basic-usage it isn't even mentionned in the basic usage section.
Regards, Xavier. Le 8 oct. 2011 à 04:13, Roy Smith a écrit : > I'm mystified why django (under runserver) is not finding my static > files. I'm running django-1.3.1. The relevant parts of my > settings.py file are: > > STATIC_ROOT = os.path.join(PROJECT_DIR, 'static') > STATIC_URL = '/static/' > > I have a file in my static directory, a file named foo. If I do a GET > on http://localhost:8000/static/foo, I get an 404 with the message, > "'foo' could not be found". > > I have commented django.contrib.staticfiles out of my settings.py > file. For now, I just want to drop my static files manually into my > static directory. > > -- > 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. > -- 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.