Ticket #14667: media-settings.diff

File media-settings.diff, 1.4 KB (added by Adam Vandenberg, 13 years ago)
  • docs/ref/settings.txt

    diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt
    index 78b5fd9..e5be2eb 100644
    a b MEDIA_ROOT  
    11041104
    11051105Default: ``''`` (Empty string)
    11061106
    1107 Absolute path to the directory that holds media for this installation.
    1108 Example: ``"/home/media/media.lawrence.com/"`` See also ``MEDIA_URL``.
     1107Absolute path to the directory that holds media for this installation, used
     1108for :doc:`managing files </topics/files>`.
     1109
     1110Example: ``"/home/media/media.lawrence.com/"``
     1111
     1112See also ``MEDIA_URL``.
    11091113
    11101114.. setting:: MEDIA_URL
    11111115
    MEDIA_URL  
    11141118
    11151119Default: ``''`` (Empty string)
    11161120
    1117 URL that handles the media served from ``MEDIA_ROOT``.
     1121URL that handles the media served from ``MEDIA_ROOT``, used
     1122for :doc:`managing files </topics/files>`.
     1123
    11181124Example: ``"http://media.lawrence.com"``
    11191125
    11201126Note that this should have a trailing slash if it has a path component.
    11211127
    1122 Good: ``"http://www.example.com/static/"``
    1123 Bad: ``"http://www.example.com/static"``
     1128 * Good: ``"http://www.example.com/static/"``
     1129 * Bad: ``"http://www.example.com/static"``
    11241130
    1125 .. setting:: MIDDLEWARE_CLASSES
    11261131
    11271132MESSAGE_LEVEL
    11281133-------------
    Default::  
    11611166Sets the mapping of message levels to message tags. See the
    11621167:doc:`messages documentation </ref/contrib/messages>` for more details.
    11631168
     1169.. setting:: MIDDLEWARE_CLASSES
     1170
    11641171MIDDLEWARE_CLASSES
    11651172------------------
    11661173
Back to Top