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<path>.*)$', 'django.views.static.serve',
{'document_root': '/path/to/media'}),
    )
So I put this in my Main urls file
if settings.DEBUG:
    urlpatterns += patterns('',
        (r'^site_media/(?P<path>.*)$', 'django.views.static.serve',
{'document_root': r'^/django_yaba/media'}),
)
My full path on windows is:
C:\Users\DadLaptop\Documents\E1workspace\django_yabba\src\django_yaba
\media

The app still can't find any media?? css..etc All suggestions
appreciated
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to