Am Dienstag, den 17.07.2007, 18:35 +0000 schrieb Dmitriy Sodrianov:

> MEDIA_ROOT = '/home/sodrian/versatility/static/'
> 
> MEDIA_URL = 'http://127.0.0.1:8000/static/'

In this case /static/ is handled by django, so you need to set it in
your urls.py:

(r'^static/(?P<path>.*)$', 'django.views.static.serve',
{ 'document_root': '/home/sodrian/versatility/static' }),

as your last entry in the urlpatterns = patterns( ... )

(Untested, hope you figure out troubles if there are any.)

cheers,
Martin

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

Reply via email to