Ticket #10213: static-files.patch

File static-files.patch, 544 bytes (added by Manuel Kaufmann, 16 years ago)

On-liner added

  • docs/howto/static-files.txt

     
    7272    (r'^site_media/(?P<path>.*)$', 'django.views.static.serve',
    7373            {'document_root': settings.STATIC_DOC_ROOT}),
    7474
     75Be careful not to use the same path as your :setting:`ADMIN_MEDIA_PREFIX` (which defaults
     76to ``/media/``) as this will overwrite your URLconf entry.
     77
    7578Directory listings
    7679==================
    7780
Back to Top