Permalink
Browse files

Fixed #4290 -- Added a warning about trailing slashes to the project …

…settings

file. Thanks, mw@agami.at.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5404 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 250b84d commit dcc090e4572959e11aa9ce0edf99785ac882d083 @malcolmt malcolmt committed Jun 1, 2007
Showing with 3 additions and 2 deletions.
  1. +3 −2 django/conf/project_template/settings.py
@@ -38,8 +38,9 @@
# Example: "/home/media/media.lawrence.com/"
MEDIA_ROOT = ''
-# URL that handles the media served from MEDIA_ROOT.
-# Example: "http://media.lawrence.com"
+# URL that handles the media served from MEDIA_ROOT. Make sure to use a
+# trailing slash if there is a path component (optional in other cases).
+# Examples: "http://media.lawrence.com", "http://example.com/media/"
MEDIA_URL = ''
# URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a

0 comments on commit dcc090e

Please sign in to comment.