Nobody that could help me? Do you need further information? On Nov 9, 7:16 pm, David <[EMAIL PROTECTED]> wrote: > I seem to have a similar (stupid) problem, which I just can't get: > (Though it's not the backslashes!) > > This is from my settings.py: > MEDIA_ROOT = 'C:/django/myProject/src/media/' > MEDIA_URL = 'http://localhost:8000/media/' > ADMIN_MEDIA_PREFIX = '/media/' > > in my html-template: > <link href="/media/style.css" rel="stylesheet" type="text/css" /> > > in urls.py: > (r'^media/(?P<path>.*)$', 'django.views.static.serve', > {'document_root': '/media/'}), > > my directory structure: > 09.11.2007 10:55 <DIR> media > 09.11.2007 15:55 <DIR> registration > 18.10.2007 09:26 1'974 settings.pyc > 09.11.2007 10:42 <DIR> templates > 18.10.2007 09:24 128 __init__.pyc > > dir media: > 09.11.2007 10:54 <DIR> images > 14.08.2007 18:37 4'929 style.css > > I get the content of the html-file (in templates/myDir) but no style > or images. > > I use Django version 0.97-pre-SVN-6654 > > what can be wrong here? > thanks for any hints > > david
--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---