Correct settings, Finally!! Note use of "full" path and forward
slashes
Hope it helps someone else!
if settings.DEBUG:
urlpatterns += patterns('',
(r'^media/(?P.*)$', 'django.views.static.serve',
{'document_root':'/Users/DadLaptop/Documents/E1workspace/django_yabba/
src/django_yab
The doc here give an example:
http://docs.djangoproject.com/en/dev/howto/static-files/
Which looks like so:
if settings.DEBUG:
urlpatterns += patterns('',
(r'^site_media/(?P.*)$', 'django.views.static.serve',
{'document_root': '/path/to/media'}),
)
So I put this in my Main urls fi
2 matches
Mail list logo