Darn,

It turns out that media/ is already used for admin :-( Using
site_media and it's running now.

On Mar 14, 11:55 pm, Joshua Partogi <joshua.j...@gmail.com> wrote:
> Dear all,
>
> I've already followed in the docs as instructed 
> herehttp://docs.djangoproject.com/en/dev/howto/static-files
>
> And configured as following in my urls.py
> if settings.DEBUG:
>     urlpatterns += patterns('',
>     (r'^media/(?P<path>.*)$', 'django.views.static.serve',
>              {'document_root': settings.STATIC_DOC_ROOT, 'show_indexes': 
> True}),
> )
>
> But when I accesshttp://localhost:8000/media/css/default.cssfrom the
> browser I get the following message:
> Page not found:
> /usr/local/lib/python2.6/site-packages/django/contrib/admin/media/css/default.css
>
> Why is it still looking at those directory? I already have override it
> in the settings. Have I missed something from the docs?
>
> Thank you in advance.
>
> --
> If you can't believe in God the chances are your God is too small.
>
> Read my blog:http://joshuajava.wordpress.com/
> Follow me on twitter:http://twitter.com/jpartogi
--~--~---------~--~----~------------~-------~--~----~
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