mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Fixed #15983 and #16032 -- Another pass over the staticfiles docs. Many thanks to Frank Wiles and EvilDMP.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16235 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
ee8f6ca405
commit
091c9b530e
2 changed files with 58 additions and 52 deletions
|
@ -296,7 +296,7 @@ primary URL configuration::
|
|||
url(r'^static/(?P<path>.*)$', 'serve'),
|
||||
)
|
||||
|
||||
Note, the begin of the pattern (``r'^static/'``) should be your
|
||||
Note, the beginning of the pattern (``r'^static/'``) should be your
|
||||
:setting:`STATIC_URL` setting.
|
||||
|
||||
Since this is a bit finicky, there's also a helper function that'll do this for you:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue