From 5b96692894a979742fc72b64a7b400959e4b164a Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Tue, 23 Jan 2007 02:30:55 +0000 Subject: [PATCH] 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 --- docs/settings.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/settings.txt b/docs/settings.txt index 23fbb10d76..38a9e33226 100644 --- a/docs/settings.txt +++ b/docs/settings.txt @@ -557,6 +557,11 @@ Default: ``''`` (Empty string) URL that handles the media served from ``MEDIA_ROOT``. 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 ------------------