On Sat, Nov 26, 2005 at 04:34:46PM -0800, hugo wrote:
> >Is it possible to serve static media using internal development
> >webserver and options like that:
> Look into django.views.static for the "serve" view function. That one
> allows you to serve files with the dev server.

The following string added into urls file helped:

(r'^site_media/(?P<path>.*)$', 'django.views.static.serve', \
  {'document_root': '/home/igor/kultprosvet.ru/media/'}),

Thank you very much!


-- 
    Igor Goryachev              E-Mail/Jabber: [EMAIL PROTECTED]

Reply via email to