Fixed #15989 -- typo in static-files howto. Thanks luizvital.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16195 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
b6c5f8060d
commit
8122ce7c76
|
@ -286,7 +286,7 @@ parameter.
|
||||||
|
|
||||||
Since it can become a bit cumbersome to define this URL pattern, Django
|
Since it can become a bit cumbersome to define this URL pattern, Django
|
||||||
ships with a small URL helper function
|
ships with a small URL helper function
|
||||||
:func:`~django.conf.urls.static.static` that taks as parameters the prefix
|
:func:`~django.conf.urls.static.static` that takes as parameters the prefix
|
||||||
such as :setting:`MEDIA_URL` and a dotted path to a view, such as
|
such as :setting:`MEDIA_URL` and a dotted path to a view, such as
|
||||||
``'django.views.static.serve'``. Any other function parameter will be
|
``'django.views.static.serve'``. Any other function parameter will be
|
||||||
transparently passed to the view.
|
transparently passed to the view.
|
||||||
|
|
Loading…
Reference in New Issue