Sur un de mes projets, j'ai, dans urls.py :
if settings.DEBUG:
urlpatterns += patterns('django.contrib.staticfiles.views',
url(r'^static/(?P<path>.*)$', 'serve'),
)
je pense que c'est ce qu'il te manque
2012/7/27 sesame <[email protected]>
> non plus avec STATICFILES_DIRS = (
> r"C:\www\django\static")
>
> j'ai pourtant un template ou ca marche...
>
> et la j'ai bien http://127.0.0.1:8000/static/js/jquery-1.7.2.js"
> _______________________________________________
> django mailing list
> [email protected]
> http://lists.afpy.org/mailman/listinfo/django
>
_______________________________________________
django mailing list
[email protected]
http://lists.afpy.org/mailman/listinfo/django