Skip to content

Commit

Permalink
Fixed some ReST errors; refs #20819.
Browse files Browse the repository at this point in the history
  • Loading branch information
timgraham committed Jul 31, 2013
1 parent 7de35a9 commit 4d8ecbd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docs/ref/contrib/staticfiles.txt
Expand Up @@ -352,9 +352,9 @@ This view function serves static files in development.


.. versionchanged:: 1.7 .. versionchanged:: 1.7


Will now raise an :exc:`~django.http.Http404` exception instead of This view will now raise an :exc:`~django.http.Http404` exception instead
:exc:`~from django.core.exceptions.ImproperlyConfigured` when of :exc:`~django.core.exceptions.ImproperlyConfigured` when
:setting:`DEBUG` is ``True``. :setting:`DEBUG` is ``False``.


.. note:: .. note::


Expand Down
6 changes: 3 additions & 3 deletions docs/releases/1.7.txt
Expand Up @@ -122,10 +122,10 @@ Miscellaneous
* Loading empty fixtures emits a ``RuntimeWarning`` rather than raising * Loading empty fixtures emits a ``RuntimeWarning`` rather than raising
:class:`~django.core.management.CommandError`. :class:`~django.core.management.CommandError`.


* :view:`~django.contrib.staticfiles.views.serve` will now raise an * :func:`django.contrib.staticfiles.views.serve` will now raise an
:exc:`~django.http.Http404` exception instead of :exc:`~django.http.Http404` exception instead of
:exc:`~from django.core.exceptions.ImproperlyConfigured` when :setting:`DEBUG` :exc:`~django.core.exceptions.ImproperlyConfigured` when :setting:`DEBUG`
is ``True``. This change removes the need to conditionally add the view to is ``False``. This change removes the need to conditionally add the view to
your root URLconf, which in turn makes it safe to reverse by name. It also your root URLconf, which in turn makes it safe to reverse by name. It also
removes the ability for visitors to generate spurious HTTP 500 errors by removes the ability for visitors to generate spurious HTTP 500 errors by
requesting static files that don't exist or haven't been collected yet. requesting static files that don't exist or haven't been collected yet.
Expand Down

0 comments on commit 4d8ecbd

Please sign in to comment.