Fixed #2296 -- Documented required trailing slash for MEDIA_URL. Thanks, nwp@nz.lemon-computing.com

git-svn-id: http://code.djangoproject.com/svn/django/trunk@4399 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2007-01-23 02:30:55 +00:00
parent 2633035261
commit 5b96692894
1 changed files with 5 additions and 0 deletions

View File

@ -557,6 +557,11 @@ Default: ``''`` (Empty string)
URL that handles the media served from ``MEDIA_ROOT``. URL that handles the media served from ``MEDIA_ROOT``.
Example: ``"http://media.lawrence.com"`` Example: ``"http://media.lawrence.com"``
Note that this should have a trailing slash if it has a path component.
Good: ``"http://www.example.com/static/"``
Bad: ``"http://www.example.com/static"``
MIDDLEWARE_CLASSES MIDDLEWARE_CLASSES
------------------ ------------------