Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit dcc090e4572959e11aa9ce0edf99785ac882d083 1 parent 250b84d
@malcolmt malcolmt authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 django/conf/project_template/settings.py
View
5 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
Please sign in to comment.
Something went wrong with that request. Please try again.