On Nov 11, 7:50 am, neridaj <neri...@gmail.com> wrote: > I'm trying to use some flatpages for static content and I don''t > understand why they keep failing to load media files. I have my > template_dirs defined, media_root and media_url - when used in > template does not resolve to media_root i.e., template contains: > > <link rel="stylesheet" href="{{ media_url }}css/base.css" type="text/ > css" media="screen" title="Base Styles" charset="utf-8"> > > results in: > > Failed to load source for:http://127.0.0.1:8000/about/css/base.css > > MEDIA_ROOT = '/Users/neridaj/django-templates/neridaj/' > MEDIA_URL = '/site_media/' > TEMPLATE_DIRS = ( > '/Users/neridaj/django-templates/neridaj/' > ) > > The default template renders but without any of the css. > > Thanks, > > J
Have you set anything up to serve media files? -- DR. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---