Ticket #16032: staticfiles-docs.diff

File staticfiles-docs.diff, 555 bytes (added by Frank Wiles, 14 years ago)
  • docs/ref/contrib/staticfiles.txt

    diff --git a/docs/ref/contrib/staticfiles.txt b/docs/ref/contrib/staticfiles.txt
    index b06620d..eb8bbec 100644
    a b primary URL configuration::  
    296296           url(r'^static/(?P<path>.*)$', 'serve'),
    297297       )
    298298
    299 Note, the begin of the pattern (``r'^static/'``) should be your
     299Note, the beginning of the pattern (``r'^static/'``) should be your
    300300:setting:`STATIC_URL` setting.
    301301
    302302Since this is a bit finicky, there's also a helper function that'll do this for you:
Back to Top