Thanks. It solved.

best regards,


> > Here is my urls.py:
>
> > from django.conf.urls.defaults import *
>
> > urlpatterns = patterns('',
> >     # Example:
> >     # (r'^mysite/', include('mysite.apps.foo.urls.foo')),
> >     (r'^blog/', include('mysite.blog.urls')),
> >     (r'^site-media/(?P<path>.*)$', 'django.views.static.serve',
> > {'document_root':'d:\mysite\templates', 'show_indexes' : True}),
>
> I don't know if this is the (only?) issue, but you're using
> backslashes for your path, and "d:\mysite\templates" has a "\t"
> in it.  You don't have it specified as a "raw" string, so that's
> getting expanded to "d:\mysite<tab>emplates" which isn't likely
> what you mean.  You likely want either
>
>         'd:/mysite/templates'
>
> or
>
>         r'd:\mysite\templates'
>
> HTH,
>
> -tkc


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to