Ticket #15989: onecharpatch.diff

File onecharpatch.diff, 660 bytes (added by luizvital, 7 years ago)
  • docs/howto/static-files.txt

    287287Since it can become a bit cumbersome to define this URL pattern, Django
    288288ships with a small URL helper function
    289 :func:`~django.conf.urls.static.static` that taks as parameters the prefix
     289:func:`~django.conf.urls.static.static` that takes as parameters the prefix
    290290such as :setting:`MEDIA_URL` and a dotted path to a view, such as
    291291``'django.views.static.serve'``. Any other function parameter will be
    292292transparently passed to the view.
Back to Top