Correction, winter.css is loading... just not base.css. Turns out this is in ./projectprofiler/meda/admin/css That solves it.
On Jun 12, 1:36 pm, Adam Fraser <[EMAIL PROTECTED]> wrote: > Hrm, well now the URL resolves and I can see the contents of the file > by going > herehttp://127.0.0.1:8000/projectprofiler/media/projects/zapatec/winter.css > > ...yet the css is not loading in the actual template: > <link rel="stylesheet" href="/projectprofiler/media/projects/zapatec/ > winter.css" /> > > However, the javascript IS loading (and obviously the URL resolves as > well), > <script type="text/javascript" src="/projectprofiler/media/ > MochiKit.js"></script> > > Any ideas what's causing this? > > -Adam > > On Jun 12, 1:10 pm, Jeff Anderson <[EMAIL PROTECTED]> wrote: > > > Adam Fraser wrote: > > > Hi, > > > > I'm testing Django locally and I've added the line: > > > (r'^projectprofiler/media/(?P<path>.*)$', 'django.views.static.serve', > > > {'document_root': '/projectprofiler/media/'}), > > > to urls.py as it is mentioned to do so here (http:// > > >www.djangoproject.com/documentation/static_files/). Note: The path to > > > the file on the site is the same as it is locally. > > > > The browser is now being directed to the correct place, but I'm still > > > getting a 404 even though the path to the directory is exactly > > > correct: > > > > Request URL: http://127.0.0.1:8000/projectprofiler/media/MochiKit.js > > > "/projectprofiler/media/MochiKit.js" does not exist > > > type "ls /projectprofiler/media/MochiKit.js" > > > I'm suspecting that "projectprofiler" isn't a directory off / > > > You need to supply the full path. > > > Jeff Anderson > > > signature.asc > > 1KDownload --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---