BrandonC wrote: > (r'^media/(?P<path>.*)$', 'django.views.static.serve', > {'document_root': 'path/to/document/root/media', 'show_indexes': > True}), > > As a temporary measure you can add a line like this to your urls.py in > order to serve media when developing, replacing the path line with an > absolute path to your media. Ideally is should be done through your > web server though. > > See: http://www.djangoproject.com/documentation/static_files/
I still can't seem to get it working = ( is it because I have my template directory outside of my app directory? Although in the above I should be able to simply use /media/css/style.css in any instance of a template file if it is always relative to the root? m --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---