On Tue, Sep 23, 2008 at 1:36 PM, h <[EMAIL PROTECTED]> wrote:
>
> I suspect you have something like this in your urls.py and your static
> media is not being served
>
>
> if not settings.DEBUG:
>    urlpatterns += patterns('',(r'^media/(.*)$',
> 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT}),)
>
>

I was going to suggest the same. If so, we  should consider renaming the
http://docs.djangoproject.com/en/dev/howto/static-files/
document from "Serving static files" to "Serving static files with the
Django development server".
to avoid helping people making wrong assumptions based in
the generality of the document title.

Regards,

-- 
 Ramiro Morales

--~--~---------~--~----~------------~-------~--~----~
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