Ticket #16032: staticfiles-docs.diff
File staticfiles-docs.diff, 555 bytes (added by , 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:: 296 296 url(r'^static/(?P<path>.*)$', 'serve'), 297 297 ) 298 298 299 Note, the begin of the pattern (``r'^static/'``) should be your299 Note, the beginning of the pattern (``r'^static/'``) should be your 300 300 :setting:`STATIC_URL` setting. 301 301 302 302 Since this is a bit finicky, there's also a helper function that'll do this for you: