As I explain before, my problem was the use of 'media' as directory for static files media/css/*.css media/images/*.png media/js/*.js when I replace media by site-media, all work with this URL #fichiers statiques (images, css, ...) urlpatterns += patterns('', (r'^site_media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': 'E:/applis/budget/site_media'}),
and the whole path for document_root Thank you Igor jlT On 19 nov, 18:48, Igor Guerrero Fonseca <[EMAIL PROTECTED]> wrote: > I finally found it, put this in your urls(this works to me!): > > (r'(^|/)css/(?P<path>.*)$', > 'django.views.static.serve', > {'document_root': 'templates/css/', 'show_indexes': True}), > > Maybe you already do that... but just for another that have the same > problem :-P > --http://igordevlog.blogspot.com/ --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---