summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAleksej Manaev <aleksej.manaev@gmx.de>2017-04-03 14:13:48 +0200
committerTim Graham <timograham@gmail.com>2017-04-03 08:14:06 -0400
commit8165863a67d2dcfd154a172c5fc33088fd6e9523 (patch)
tree25c05ae39ca5042b7ffb1b936f5e7879636258d7 /docs
parente34cce79ff667876bf55ea41395f15f0d2534a40 (diff)
[1.11.x] Fixed typos in docs/howto/static-files/index.txt.
Backport of 7170820b4ed1b348422fa1b9882bf8ffe8412570 from master
Diffstat (limited to 'docs')
-rw-r--r--docs/howto/static-files/index.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/howto/static-files/index.txt b/docs/howto/static-files/index.txt
index 8244b685ce..847e3c9c19 100644
--- a/docs/howto/static-files/index.txt
+++ b/docs/howto/static-files/index.txt
@@ -84,7 +84,7 @@ If you use :mod:`django.contrib.staticfiles` as explained above,
:djadmin:`runserver` will do this automatically when :setting:`DEBUG` is set
to ``True``. If you don't have ``django.contrib.staticfiles`` in
:setting:`INSTALLED_APPS`, you can still manually serve static files using the
-:func:`django.contrib.staticfiles.views.serve` view.
+:func:`django.views.static.serve` view.
This is not suitable for production use! For some common deployment
strategies, see :doc:`/howto/static-files/deployment`.
@@ -115,8 +115,7 @@ Serving files uploaded by a user during development
===================================================
During development, you can serve user-uploaded media files from
-:setting:`MEDIA_ROOT` using the :func:`django.contrib.staticfiles.views.serve`
-view.
+:setting:`MEDIA_ROOT` using the :func:`django.views.static.serve` view.
This is not suitable for production use! For some common deployment
strategies, see :doc:`/howto/static-files/deployment`.