Skip to content

Commit

Permalink
Fixed typos in docs/howto/static-files/index.txt.
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksejManaev authored and timgraham committed Apr 3, 2017
1 parent 17e078d commit 7170820
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/howto/static-files/index.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down Expand Up @@ -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`.
Expand Down

0 comments on commit 7170820

Please sign in to comment.